bottomsheet back key

This commit is contained in:
focp212@naver.com
2025-11-20 11:24:40 +09:00
parent f7a07e3bc7
commit 90206d14ab
13 changed files with 54 additions and 28 deletions

View File

@@ -1,7 +1,7 @@
import moment from 'moment';
import { useEffect, useState } from 'react';
import { useTranslation } from 'react-i18next';
import { useDetailOnStore, useFilterlOnStore, useStore } from '@/shared/model/store';
import { useDetailOnStore, useDownloadBottomSheetOnStore, useFilterlOnStore, useStore } from '@/shared/model/store';
import { IMAGE_ROOT } from '@/shared/constants/common';
import { PATHS } from '@/shared/constants/paths';
import { useNavigate } from '@/shared/lib/hooks/use-navigate';
@@ -72,7 +72,7 @@ export const BillingListPage = () => {
const [minAmount, setMinAmount] = useState<number | undefined>(defaultParams.minAmount);
const [maxAmount, setMaxAmount] = useState<number | undefined>(defaultParams.maxAmount);
const [downloadBottomSheetOn, setDownloadBottomSheetOn] = useState<boolean>(false);
const { downloadBottomSheetOn, setDownloadBottomSheetOn } = useDownloadBottomSheetOnStore();
const { detailOn, setDetailOn } = useDetailOnStore();
const [detailTid, setDetailTid] = useState<string>('');