mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 20:30:33 +00:00
fix(ReactQuery): add organization id in query keys.
This commit is contained in:
@@ -3,6 +3,8 @@ import { RawIntlProvider } from 'react-intl';
|
||||
import { Router, Switch, Route } from 'react-router';
|
||||
import { createBrowserHistory } from 'history';
|
||||
import { QueryClientProvider, QueryClient } from 'react-query';
|
||||
import { ReactQueryDevtools } from 'react-query/devtools';
|
||||
|
||||
import 'style/App.scss';
|
||||
|
||||
import PrivateRoute from 'components/Guards/PrivateRoute';
|
||||
@@ -42,6 +44,8 @@ function App({ locale }) {
|
||||
|
||||
<GlobalErrors />
|
||||
</div>
|
||||
|
||||
<ReactQueryDevtools initialIsOpen />
|
||||
</QueryClientProvider>
|
||||
</RawIntlProvider>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user