From 6e3603513df918e86d32153b23f463aaf5497a5b Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Fri, 13 Feb 2026 14:20:53 -0600 Subject: [PATCH] Revert earlier change to fix bug --- src/features/liveNow/index.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/features/liveNow/index.tsx b/src/features/liveNow/index.tsx index 77d1289415..8372a357d7 100644 --- a/src/features/liveNow/index.tsx +++ b/src/features/liveNow/index.tsx @@ -52,15 +52,6 @@ export function useLiveNowConfig(): LiveNowConfig { return useMemo(() => { const disabled = ax.features.enabled(ax.features.LiveNowBetaDisable) - if (!currentAccount?.did || disabled) { - return { - canGoLive: false, - currentAccountAllowedHosts: new Set(), - defaultAllowedHosts: new Set(), - allowedHostsExceptionsByDid: new Map(), - } - } - const defaultAllowedHosts = new Set( DEFAULT_ALLOWED_DOMAINS.concat(liveNow.allow), ) @@ -72,6 +63,15 @@ export function useLiveNowConfig(): LiveNowConfig { ) } + if (!currentAccount?.did || disabled) { + return { + canGoLive: false, + currentAccountAllowedHosts: new Set(), + defaultAllowedHosts, + allowedHostsExceptionsByDid, + } + } + return { canGoLive: true, currentAccountAllowedHosts: