mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
feat: optimize setup style pages.
This commit is contained in:
@@ -22,13 +22,13 @@ function Dashboard({
|
||||
// #withSettings
|
||||
requestFetchOptions,
|
||||
}) {
|
||||
// const fetchOptions = useQuery(
|
||||
// ['options'], () => requestFetchOptions(),
|
||||
// );
|
||||
const fetchOptions = useQuery(
|
||||
['options'], () => requestFetchOptions(),
|
||||
);
|
||||
|
||||
return (
|
||||
<EnsureOrganizationIsReady>
|
||||
<DashboardLoadingIndicator isLoading={false}>
|
||||
<DashboardLoadingIndicator isLoading={fetchOptions.isFetching}>
|
||||
<Switch>
|
||||
<Route path="/preferences">
|
||||
<DashboardSplitPane>
|
||||
|
||||
Reference in New Issue
Block a user