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

Function graphqlError

packages/shared/src/hooks/post/useViewPost.spec.tsx:54–56  ·  view source on GitHub ↗
(code: string)

Source from the content-addressed store, hash-verified

52};
53
54const graphqlError = (code: string) => ({
55 response: { data: null, errors: [{ message: 'no', extensions: { code } }] },
56});
57const networkError = new TypeError('Failed to fetch');
58
59const renderViewPost = ({

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected