This commit is contained in:
Eric Bailey
2025-07-15 19:49:56 -05:00
parent beb510582b
commit 4ae3ddaecd
+2
View File
@@ -54,6 +54,8 @@ export function Provider({children}: {children: React.ReactNode}) {
* This is load bearing. We always want this query to run and end in a
* "fetched" state, even if we fall back to defaults. This lets the rest of
* the app know that we've at least attempted to load the AA state.
*
* However, it only needs to run if AA is enabled.
*/
enabled: isAgeAssuranceEnabled,
queryKey: createAgeAssuranceQueryKey(agent.session?.did ?? 'never'),