Skip to content

Commit

Permalink
Add generic arg for query component
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Dec 5, 2024
1 parent 60fd22a commit 064d951
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/react/hoc/__tests__/ssr/getDataFromTree.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,7 @@ describe("SSR", () => {
}

const Element = (props: { id: string }) => (
<Query query={query} ssr={false} variables={props}>
<Query<Data> query={query} ssr={false} variables={props}>
{({ data, loading }) => (
<div>
{loading || !data ? "loading" : data.currentUser!.firstName}
Expand Down

0 comments on commit 064d951

Please sign in to comment.