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

Function onSuccess

packages/shared/src/components/post/NewComment.tsx:94–97  ·  view source on GitHub ↗
(comment, isNew)

Source from the content-addressed store, hash-verified

92 }
93
94 const onSuccess: typeof onCommented = (comment, isNew) => {
95 setInputContent(undefined);
96 onCommented?.(comment, isNew);
97 };
98
99 const onShowComment = useCallback(
100 (origin: Origin, content = '') => {

Callers 3

handleSuccessFunction · 0.50
RecruiterSignInModalFunction · 0.50
CandidateSignInModalFunction · 0.50

Calls 1

onCommentedFunction · 0.70

Tested by

no test coverage detected