Skip to content

Commit ee6c094

Browse files
fix: provide correct theme props (#343)
1 parent b453075 commit ee6c094

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

admin/src/providers/CommonProviders/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ const queryClient = new QueryClient({
1313
},
1414
});
1515
export const CommonProviders: FC<{ children: ReactNode }> = ({ children }) => {
16+
const { theme } = usePluginTheme();
1617

17-
const theme = usePluginTheme();
1818
return (
1919
<QueryClientProvider client={queryClient}>
20-
<DesignSystemProvider theme={{ theme }}>
20+
<DesignSystemProvider theme={theme}>
2121
<UserProvider>
2222
{children}
2323
</UserProvider>

0 commit comments

Comments
 (0)