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

Function unhidePost

packages/shared/src/hooks/useReportPost.ts:75–84  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

73 };
74
75 const unhidePost = async (id: string) => {
76 if (!user) {
77 showLogin({ trigger: AuthTriggers.HidePost });
78 return { successful: false };
79 }
80
81 await unhidePostAsync(id);
82
83 return { successful: true };
84 };
85
86 return { reportPost, hidePost, unhidePost };
87}

Callers 1

useHidePostFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected