Skip to content

Commit 87bed72

Browse files
committed
Fix minor JSX related type issues
1 parent 36a83f2 commit 87bed72

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
@@ -22,7 +22,7 @@ const getSubStateB = () => storeRef.store.getState().api.queries['b(undefined)']
2222
function UsingA() {
2323
const { data } = api.endpoints.a.useQuery()
2424

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

2828
function UsingB() {

0 commit comments

Comments
 (0)