Skip to content

Commit

Permalink
refactor: rollback modal description (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
SunwooJaeho authored Oct 25, 2024
1 parent 5095934 commit 0a9ee92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions src/components/common/Modal/RandomModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
4 changes: 1 addition & 3 deletions src/components/common/Modal/SelectedRandomModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 0a9ee92

Please sign in to comment.