Skip to content

Commit 4d3960b

Browse files
committed
Fix minor JSX related type issues
1 parent fb5a736 commit 4d3960b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/toolkit/src/query/tests/cleanup.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const getSubStateB = () => storeRef.store.getState().api.queries['b(undefined)']
2121
function UsingA() {
2222
const { data } = api.endpoints.a.useQuery()
2323

24-
return <>Result: {data} </>
24+
return <>Result: {data as React.ReactNode} </>
2525
}
2626

2727
function UsingB() {

0 commit comments

Comments
 (0)