MCPcopy Create free account
hub / github.com/dailydotdev/apps / onRequestClose

Function onRequestClose

packages/shared/src/features/boost/BoostPostModal.tsx:254–260  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

252 const isBuyingCores = missingCores > 0 && canBuyCores;
253
254 const onRequestClose: ModalProps['onRequestClose'] = (event) => {
255 logBoostEvent(LogEvent.CloseBoost, {
256 budget: coresPerDay,
257 duration: totalDays,
258 });
259 props.onRequestClose?.(event);
260 };
261
262 return (
263 <Modal

Callers 7

SquadWelcomeModalFunction · 0.50
LfgReachOutModalFunction · 0.50
LfgHelperModalFunction · 0.50
FeedExplanationModalFunction · 0.50
closeFunction · 0.50
useStreakRecoverFunction · 0.50
handleSubmitFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected