diff --git a/src/view/com/home/HomeHeaderLayoutMobile.tsx b/src/view/com/home/HomeHeaderLayoutMobile.tsx index 4519f9e1f4..7a40604f43 100644 --- a/src/view/com/home/HomeHeaderLayoutMobile.tsx +++ b/src/view/com/home/HomeHeaderLayoutMobile.tsx @@ -12,10 +12,6 @@ import {useSession} from '#/state/session' import {useShellLayout} from '#/state/shell/shell-layout' import {Logo} from '#/view/icons/Logo' import {atoms as a, useTheme} from '#/alf' -import { - AgeAssuranceDismissibleHeaderButton, - useInternalState, -} from '#/components/ageAssurance/AgeAssuranceDismissibleHeaderButton' import {ButtonIcon} from '#/components/Button' import {Hashtag_Stroke2_Corner0_Rounded as FeedsIcon} from '#/components/icons/Hashtag' import * as Layout from '#/components/Layout' @@ -33,7 +29,6 @@ export function HomeHeaderLayoutMobile({ const headerMinimalShellTransform = useMinimalShellHeaderTransform() const {hasSession} = useSession() const playHaptic = useHaptics() - const {visible: aaButtonVisible} = useInternalState() return ( - - - + { playHaptic('Light') emitSoftReset() - }} - style={{top: -2}}> + }}> - {aaButtonVisible ? ( - - - - ) : ( - - {hasSession && ( - - - - )} - - )} + + {hasSession && ( + + + + )} + {children}