11import { ReactNode , useEffect , useState } from 'react'
22
3- import { FEED_PAGE } from '@audius/common/src/utils/route'
43import { SystemAppearance } from '@audius/common/models'
4+ import { FEED_PAGE } from '@audius/common/src/utils/route'
55import { themeSelectors } from '@audius/common/store'
66import { route } from '@audius/common/utils'
77import {
@@ -25,7 +25,6 @@ import {
2525} from 'react-router'
2626import { useEffectOnce , useLocalStorage } from 'react-use'
2727
28- import landingImg from 'public-site/pages/landing-2026/assets/landing.png'
2928import {
3029 fetchReferrer ,
3130 setField ,
@@ -42,6 +41,7 @@ import { useMedia } from 'hooks/useMedia'
4241import { SignInPage } from 'pages/sign-in-page'
4342import SignUpPage from 'pages/sign-up-page'
4443import { NavHeader } from 'pages/sign-up-page/components/NavHeader'
44+ import landingImg from 'public-site/pages/landing-2026/assets/landing.png'
4545
4646const {
4747 SIGN_IN_CONFIRM_EMAIL_PAGE ,
@@ -64,9 +64,7 @@ const DesktopSignOnRoot = (props: RootProps) => {
6464 const routeOnExit = useSelector ( getRouteOnExit )
6565 const location = useLocation ( )
6666
67- const hideCloseButton = [
68- SIGN_UP_LOADING_PAGE
69- ] . some ( ( path ) => {
67+ const hideCloseButton = [ SIGN_UP_LOADING_PAGE ] . some ( ( path ) => {
7068 const match = matchPath ( path , location . pathname )
7169 return match && match . pathname === location . pathname
7270 } )
@@ -178,9 +176,7 @@ const MobileSignOnRoot = (props: MobileSignOnRootProps) => {
178176 const routeOnExit = useSelector ( getRouteOnExit )
179177 const location = useLocation ( )
180178
181- const hideCloseButton = [
182- SIGN_UP_LOADING_PAGE
183- ] . some ( ( path ) => {
179+ const hideCloseButton = [ SIGN_UP_LOADING_PAGE ] . some ( ( path ) => {
184180 const match = matchPath ( path , location . pathname )
185181 return match && match . pathname === location . pathname
186182 } )
0 commit comments