diff --git a/src/features/AuthStore/hooks/useAuth.tsx b/src/features/AuthStore/hooks/useAuth.tsx index f9387124..6d191767 100644 --- a/src/features/AuthStore/hooks/useAuth.tsx +++ b/src/features/AuthStore/hooks/useAuth.tsx @@ -127,9 +127,7 @@ export const useAuth = () => { if (!isMatchPage() && !isMatchPageRFEF()) { login() } - // if (!isMatchPageRFEF()) { - // login() - // } + if (history.location.pathname === '/') { setSearch(history.location.search) } diff --git a/src/features/JoinMatchPageRFEF/index.tsx b/src/features/JoinMatchPageRFEF/index.tsx index 3774251f..6a97f4cd 100644 --- a/src/features/JoinMatchPageRFEF/index.tsx +++ b/src/features/JoinMatchPageRFEF/index.tsx @@ -3,10 +3,7 @@ import format from 'date-fns/format' import { joinMatchLexics } from 'config/lexics/joinMatch' -// import { usePageParams } from 'hooks/usePageParams' - import { T9n } from 'features/T9n' -// import { Name } from 'features/Name' import { useLexicsConfig, useLexicsStore } from 'features/LexicsStore' import { useUnauthenticatedMatch } from './hooks' @@ -39,11 +36,7 @@ import { export const JoinMatchPageRFEF = () => { useLexicsConfig(joinMatchLexics) - // const { sportType } = usePageParams() const { - // live, - // matchDate, - // matchInfo, onJoinClick, } = useUnauthenticatedMatch()