diff --git a/src/shared/config.ts b/src/shared/config.ts index 5bb76b1..8b5e3b4 100644 --- a/src/shared/config.ts +++ b/src/shared/config.ts @@ -5,18 +5,10 @@ import type { AppRouter } from "./routers/_app"; const t = createTRPCReact(); -// configure the tanstack/query client export const queryClient = new QueryClient({ defaultOptions: { queries: { - // allows queries and mutations to run without a network connection - // don't change this at a global level - // any procedure that will need network access can be configured locally networkMode: "always", - // keeps the cache permanently , if your app is going to be a mostly - // online application you can remove this config option , but for offline first apps , - // this gives you the benefit of a cache , as well as the performance boost of not having to - // request the same data all the time cacheTime: Number.POSITIVE_INFINITY, }, mutations: { @@ -27,7 +19,6 @@ export const queryClient = new QueryClient({ }); export const trpcClient = t.createClient({ - // expose the custom ipcLink provided by electron-trpc links: [ipcLink()], }); diff --git a/src/web/components/about.tsx b/src/web/components/about.tsx index ff4eefe..09929e8 100644 --- a/src/web/components/about.tsx +++ b/src/web/components/about.tsx @@ -12,7 +12,7 @@ export default function About() { - + @@ -46,7 +46,7 @@ export default function About() { For more information, visit us{" "} - + @apollo.share