fix: Removed Strict mode to stop render twice (#2097)

This commit is contained in:
Chintan Sudani 2023-01-23 17:01:45 +05:30 committed by GitHub
parent f75e688b32
commit 75470f6bb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,9 +32,7 @@ if (container) {
<ThemeProvider>
<QueryClientProvider client={queryClient}>
<Provider store={store}>
<React.StrictMode>
<AppRoutes />
</React.StrictMode>
<AppRoutes />
</Provider>
{process.env.NODE_ENV === 'development' && (
<ReactQueryDevtools initialIsOpen />