Zio Blue: revert commit e0cafb20d6.

zio/stable
Ducky 2024-09-03 19:21:06 +01:00
parent fce6f31006
commit ef1a25c8c4
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ const ControlsContext = React.createContext<Controls>({
export function Provider({children}: React.PropsWithChildren<{}>) { export function Provider({children}: React.PropsWithChildren<{}>) {
const activeStarterPack = useActiveStarterPack() const activeStarterPack = useActiveStarterPack()
const {hasSession} = useSession() const {hasSession} = useSession()
const shouldShowStarterPack = false const shouldShowStarterPack = Boolean(activeStarterPack?.uri) && !hasSession
const [state, setState] = React.useState<State>({ const [state, setState] = React.useState<State>({
showLoggedOut: shouldShowStarterPack, showLoggedOut: shouldShowStarterPack,
requestedAccountSwitchTo: shouldShowStarterPack requestedAccountSwitchTo: shouldShowStarterPack