Allow desktop to work offline (#1057)

allow desktop to work offline
This commit is contained in:
Brendan Allan authored and GitHub committed 2023-06-30 00:13:55 +00:00
1 parent 81067f81d9
commit 95363be7d1
1 file changed
+10 -1
+10 -1
View File
@@ -77,7 +77,16 @@ const platform: Platform = {
...commands
};
const queryClient = new QueryClient();
const queryClient = new QueryClient({
defaultOptions: {
queries: {
networkMode: 'always'
},
mutations: {
networkMode: 'always'
}
}
});
const router = createBrowserRouter(routes);