protect from zombie auth

This commit is contained in:
Igor Loskutov
2025-09-03 10:53:03 -04:00
parent 611e258d96
commit 0cbbd24c65
9 changed files with 222 additions and 213 deletions

View File

@@ -49,8 +49,6 @@ export function useTranscriptsSearch(
source_kind?: SourceKind;
} = {},
) {
const { isAuthenticated } = useAuthReady();
return $api.useQuery(
"get",
"/v1/transcripts/search",
@@ -66,7 +64,7 @@ export function useTranscriptsSearch(
},
},
{
enabled: isAuthenticated,
enabled: true, // anonymous enabled
},
);
}