Fix few things

This commit is contained in:
Prayag Prajapati committed 2023-09-19 18:44:45 +05:30
1 parent f549d6430f
commit 59e8ceb99c
11 files changed
+38 -113

No files matched your search

+5 -1
View File
@@ -266,7 +266,11 @@ function App() {
await delUser();
await relaunch();
};
const location = useLocation();
useEffect(() => {
window.scrollTo(0, 0);
}, [location.pathname]);
if (!window.api) {
serverAvailable().then((available) => {
@@ -515,7 +519,7 @@ function App() {
</Route>
</Routes>
</div>
<ReactQueryDevtools />
{/* <ReactQueryDevtools /> */}
</ThemeProvider>
</SnackbarProvider>
);