remove react-query tab sharing cache

This commit is contained in:
Igor Loskutov
2025-09-03 12:47:35 -04:00
parent 6a793edfb5
commit 4f66f14761
3 changed files with 1 additions and 8 deletions

View File

@@ -64,7 +64,7 @@ export function useTranscriptsSearch(
},
},
{
enabled: true, // anonymous enabled
enabled: true,
},
);
}

View File

@@ -1,7 +1,6 @@
"use client";
import { QueryClient } from "@tanstack/react-query";
import { broadcastQueryClient } from "@tanstack/query-broadcast-client-experimental";
export const queryClient = new QueryClient({
defaultOptions: {
@@ -16,8 +15,3 @@ export const queryClient = new QueryClient({
},
},
});
broadcastQueryClient({
queryClient,
broadcastChannel: "reflector-query-client",
});

View File

@@ -17,7 +17,6 @@
"@fortawesome/free-solid-svg-icons": "^6.4.0",
"@fortawesome/react-fontawesome": "^0.2.0",
"@sentry/nextjs": "^7.77.0",
"@tanstack/query-broadcast-client-experimental": "^5.85.9",
"@tanstack/react-query": "^5.85.9",
"@vercel/edge-config": "^0.4.1",
"@whereby.com/browser-sdk": "^3.3.4",