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

Function getReplyToInitialContent

packages/shared/src/hooks/post/useComments.ts:21–23  ·  view source on GitHub ↗
(
  username?: string,
)

Source from the content-addressed store, hash-verified

19}
20
21export const getReplyToInitialContent = (
22 username?: string,
23): string | undefined => (username ? `@${username}\u00a0` : undefined);
24
25export const useComments = (post: Post): UseComments => {
26 const { logEvent } = useLogContext();

Callers 2

useCommentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected