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

Function graphqlError

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

Source from the content-addressed store, hash-verified

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

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected