From 4e5c47782f1770757a0674edcc4b384dfe332197 Mon Sep 17 00:00:00 2001 From: Rita Date: Mon, 12 Sep 2022 15:53:59 +0300 Subject: [PATCH] feat(ott-2763): fixed time format bug --- src/features/HeaderFilters/store/hooks/index.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/features/HeaderFilters/store/hooks/index.tsx b/src/features/HeaderFilters/store/hooks/index.tsx index ea29631a..a72c901e 100644 --- a/src/features/HeaderFilters/store/hooks/index.tsx +++ b/src/features/HeaderFilters/store/hooks/index.tsx @@ -12,7 +12,6 @@ import type { TournamentType } from 'requests/getMatches/types' import { useQueryParamStore } from 'hooks' import { filterKeys } from '../config' -import { serializeDate } from '../helpers/dateSerializers' import { isValidDate } from '../helpers/isValidDate' export const useFilters = () => { @@ -21,7 +20,6 @@ export const useFilters = () => { clearOnUnmount: true, defaultValue: new Date(), key: filterKeys.DATE, - serialize: serializeDate, validator: isValidDate, })