From ef7cc560b34dc1ba34ccd67f06379b0eb4efdf63 Mon Sep 17 00:00:00 2001 From: Violet Caulfield Date: Thu, 13 Feb 2025 17:00:28 -0600 Subject: [PATCH] update tanstack --- components/Login/component.tsx | 2 +- components/Tracks/component.tsx | 2 +- constants/query-client.ts | 2 +- package.json | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/components/Login/component.tsx b/components/Login/component.tsx index 0cc6b610..5d4ed06a 100644 --- a/components/Login/component.tsx +++ b/components/Login/component.tsx @@ -8,7 +8,7 @@ import { useEffect } from "react"; export default function Login(): React.JSX.Element { - const { user, server, triggerAuth, setTriggerAuth } = useAuthenticationContext(); + const { user, server, setTriggerAuth } = useAuthenticationContext(); const Stack = createStackNavigator(); diff --git a/components/Tracks/component.tsx b/components/Tracks/component.tsx index 3b360a97..8541e115 100644 --- a/components/Tracks/component.tsx +++ b/components/Tracks/component.tsx @@ -26,7 +26,7 @@ export default function Tracks({ navigation }: { navigation: NativeStackNavigati showArtwork track={track} tracklist={tracks?.slice(index, index + 50) ?? []} - queueName="Favorite Tracks" + queue="Queue" /> ) diff --git a/constants/query-client.ts b/constants/query-client.ts index 39b9edd0..c0bcf8a5 100644 --- a/constants/query-client.ts +++ b/constants/query-client.ts @@ -4,7 +4,7 @@ export const queryClient = new QueryClient({ defaultOptions: { queries: { gcTime: (1000 * 60 * 5), // 5 minutes - staleTime: (1000 * 60 * 5) // 5 minutes + staleTime: (1000 * 60 * 5), // 5 minutes, } } }); \ No newline at end of file diff --git a/package.json b/package.json index 6c3be07c..ef78d19d 100644 --- a/package.json +++ b/package.json @@ -27,9 +27,9 @@ "@react-navigation/stack": "^7.1.0", "@tamagui/config": "^1.124.17", "@tamagui/toast": "^1.124.17", - "@tanstack/query-sync-storage-persister": "^5.62.0", - "@tanstack/react-query": "^5.52.1", - "@tanstack/react-query-persist-client": "^5.62.0", + "@tanstack/query-sync-storage-persister": "^5.66.1", + "@tanstack/react-query": "^5.66.1", + "@tanstack/react-query-persist-client": "^5.66.1", "axios": "^1.7.9", "burnt": "^0.12.2", "invert-color": "^2.0.0",