fix(#ott2714): min fix

keep-around/b214ac7012ef42593bee62c207888a2593bc5a38
Farber Denis 3 years ago
parent 3d1bd8af4f
commit 3ea37b6d51
  1. 4
      src/features/AuthStore/hooks/useAuth.tsx
  2. 7
      src/features/JoinMatchPageRFEF/index.tsx

@ -127,9 +127,7 @@ export const useAuth = () => {
if (!isMatchPage() && !isMatchPageRFEF()) {
login()
}
// if (!isMatchPageRFEF()) {
// login()
// }
if (history.location.pathname === '/') {
setSearch(history.location.search)
}

@ -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()

Loading…
Cancel
Save