From 4d3960b0686d69df6fc2e969fd77035418ab734e Mon Sep 17 00:00:00 2001 From: Arya Emami Date: Mon, 2 Dec 2024 22:40:47 -0600 Subject: [PATCH] Fix minor JSX related type issues --- packages/toolkit/src/query/tests/cleanup.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/toolkit/src/query/tests/cleanup.test.tsx b/packages/toolkit/src/query/tests/cleanup.test.tsx index b0e9551f50..0ed0ac7ca2 100644 --- a/packages/toolkit/src/query/tests/cleanup.test.tsx +++ b/packages/toolkit/src/query/tests/cleanup.test.tsx @@ -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() {