Comment
This commit is contained in:
@@ -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
|
* 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
|
* "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.
|
* 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,
|
enabled: isAgeAssuranceEnabled,
|
||||||
queryKey: createAgeAssuranceQueryKey(agent.session?.did ?? 'never'),
|
queryKey: createAgeAssuranceQueryKey(agent.session?.did ?? 'never'),
|
||||||
|
|||||||
Reference in New Issue
Block a user