diff --git a/src/app/hooks/useVersions.ts b/src/app/hooks/useVersions.ts index e076a867..a1893072 100644 --- a/src/app/hooks/useVersions.ts +++ b/src/app/hooks/useVersions.ts @@ -1,11 +1,11 @@ import { getGlobalParams } from "@/app/api/getGlobalParams"; import { useAPIQuery } from "@/app/hooks/useApi"; -export const VARSIONS_KEY = "VARSIONS"; +export const VERSIONS_KEY = "VERSIONS"; export function useVersions({ enabled = true }: { enabled?: boolean } = {}) { const data = useAPIQuery({ - queryKey: [VARSIONS_KEY], + queryKey: [VERSIONS_KEY], queryFn: getGlobalParams, enabled, });