Skip to content

Commit

Permalink
Fix minor JSX related type issues
Browse files Browse the repository at this point in the history
  • Loading branch information
aryaemami59 committed Dec 3, 2024
1 parent fb5a736 commit 4d3960b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/toolkit/src/query/tests/cleanup.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const getSubStateB = () => storeRef.store.getState().api.queries['b(undefined)']
function UsingA() {
const { data } = api.endpoints.a.useQuery()

return <>Result: {data} </>
return <>Result: {data as React.ReactNode} </>
}

function UsingB() {
Expand Down

0 comments on commit 4d3960b

Please sign in to comment.