Skip to content

Commit

Permalink
refactor: (#34) confirm 메서드 앞에 window 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
inyeong-kang committed Jul 15, 2023
1 parent d8c57c7 commit 5743701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/common/Modal/Modal.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export const WithTimePicker = () => {
};

const handleResetBUtton = () => {
if (confirm('정말 초기화하시겠습니까?')) {
if (window.confirm('정말 초기화하시겠습니까?')) {
const updatedTime = {
day: 0,
hour: 0,
Expand Down

0 comments on commit 5743701

Please sign in to comment.