From c4754abc23550e609ef2355a471698c546f3f190 Mon Sep 17 00:00:00 2001 From: JaeguJaegu <118053865+SunwooJaeho@users.noreply.github.com> Date: Fri, 25 Oct 2024 21:23:12 +0900 Subject: [PATCH] refactor: rollback modal description --- src/components/common/Modal/RandomModal.tsx | 4 +--- src/components/common/Modal/SelectedRandomModal.tsx | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/components/common/Modal/RandomModal.tsx b/src/components/common/Modal/RandomModal.tsx index af0d61f..5268889 100644 --- a/src/components/common/Modal/RandomModal.tsx +++ b/src/components/common/Modal/RandomModal.tsx @@ -14,9 +14,7 @@ import { formatDate } from '@utils/date'; const RandomModal = () => { const [count, setCount] = useState(10000); - const [description, setDescription] = useState( - formatDate(new Date()) + ', Random auto generate', - ); + const [description, setDescription] = useState(formatDate(new Date())); const setModal = useSetSelectedModalStore(); const setResult = useSetResultStore(); const defaultCase = useGetCaseStore(); diff --git a/src/components/common/Modal/SelectedRandomModal.tsx b/src/components/common/Modal/SelectedRandomModal.tsx index 2447796..84c097b 100644 --- a/src/components/common/Modal/SelectedRandomModal.tsx +++ b/src/components/common/Modal/SelectedRandomModal.tsx @@ -14,9 +14,7 @@ import { formatDate } from '@utils/date'; const SelectedRandomModal = () => { const [count, setCount] = useState(10000); - const [description, setDescription] = useState( - formatDate(new Date()) + ', Selected auto generate', - ); + const [description, setDescription] = useState(formatDate(new Date())); const setModal = useSetSelectedModalStore(); const selectedCase = useGetSelectedCaseStore(); const setResult = useSetResultStore();