feat(ott-2763): fixed time format bug

keep-around/b214ac7012ef42593bee62c207888a2593bc5a38
Rita 3 years ago
parent 937339610c
commit 4e5c47782f
  1. 2
      src/features/HeaderFilters/store/hooks/index.tsx

@ -12,7 +12,6 @@ import type { TournamentType } from 'requests/getMatches/types'
import { useQueryParamStore } from 'hooks' import { useQueryParamStore } from 'hooks'
import { filterKeys } from '../config' import { filterKeys } from '../config'
import { serializeDate } from '../helpers/dateSerializers'
import { isValidDate } from '../helpers/isValidDate' import { isValidDate } from '../helpers/isValidDate'
export const useFilters = () => { export const useFilters = () => {
@ -21,7 +20,6 @@ export const useFilters = () => {
clearOnUnmount: true, clearOnUnmount: true,
defaultValue: new Date(), defaultValue: new Date(),
key: filterKeys.DATE, key: filterKeys.DATE,
serialize: serializeDate,
validator: isValidDate, validator: isValidDate,
}) })

Loading…
Cancel
Save