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

Function reportComment

packages/shared/src/hooks/useReportComment.ts:37–46  ·  view source on GitHub ↗
(params: ReportCommentProps)

Source from the content-addressed store, hash-verified

35 });
36
37 const reportComment = async (params: ReportCommentProps) => {
38 if (!user) {
39 showLogin({ trigger: AuthTriggers.ReportPost });
40 return { successful: false };
41 }
42
43 await reportCommentAsync(params);
44
45 return { successful: true };
46 };
47
48 return { reportComment };
49}

Callers 1

onReportCommentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected