Skip to content

Commit 313c584

Browse files
committed
Removing unused handlers, and default tanstack-query setup
1 parent 6b85f83 commit 313c584

File tree

2 files changed

+1
-39
lines changed

2 files changed

+1
-39
lines changed

lib/App.tsx

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,11 @@
1-
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
21
import "./app.css";
32

43
function Main() {
54
return <div>Hello World!</div>;
65
}
76

8-
const queryClient = new QueryClient({
9-
defaultOptions: {
10-
queries: {
11-
refetchOnWindowFocus: false,
12-
refetchOnMount: false,
13-
},
14-
},
15-
});
16-
177
function App() {
18-
return (
19-
<QueryClientProvider client={queryClient}>
20-
<Main />
21-
</QueryClientProvider>
22-
);
8+
return <Main />;
239
}
2410

2511
export default App;

src/handlers.tsx

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)