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

Function wrapper

packages/shared/src/hooks/useOnPostClick.spec.tsx:33–35  ·  view source on GitHub ↗
({ children }: { children: ReactNode })

Source from the content-addressed store, hash-verified

31 queryKey: [SharedFeedPage.Popular, 'u1'],
32 });
33 const wrapper = ({ children }: { children: ReactNode }) => (
34 <QueryClientProvider client={client}>{children}</QueryClientProvider>
35 );
36
37 const { result } = renderHook(() => useOnPostClick({}), { wrapper });
38

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected