refactor: code cleanup

This commit is contained in:
Prayag Prajapati committed 2024-09-27 10:57:57 +05:30
1 parent 8038680683
commit bf9ba21f39
6 files changed
+52 -49

No files matched your search

+3 -3
View File
@@ -112,7 +112,7 @@ export const Route = createRootRouteWithContext<ApiContext>()({
? `show${(isQueryFetching ?? 1) * (isMutating ?? 1) * (routeIsLoading ?? 1)}`
: "hide"
}
isAnimating={isQueryFetching || isMutating || routeIsLoading}
isAnimating={isQueryFetching + isMutating + routeIsLoading}
/>
{routeIsLoading && (
@@ -265,8 +265,8 @@ export const Route = createRootRouteWithContext<ApiContext>()({
<AppBar />
<AudioPlayer />
<Outlet />
<ReactQueryDevtools />
<TanStackRouterDevtools />
{/* <ReactQueryDevtools /> */}
{/* <TanStackRouterDevtools /> */}
</SnackbarProvider>
</ThemeProvider>
</Suspense>