Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
54
const graphqlError = (code: string) => ({
55
response: { data: null, errors: [{ message:
'no'
, extensions: { code } }] },
56
});
57
const networkError = new TypeError(
'Failed to fetch'
);
58
59
const renderViewPost = ({
Callers
1
useViewPost.spec.tsx
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected