Skip to content

Commit

Permalink
Fix: 토스트 메세지 타입 조건문 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ParkSohyunee committed Sep 18, 2024
1 parent 4e7c498 commit 3efc41c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/utils/toasting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function toasting({ type = 'default', txt = '' }: ToastingProps) {
transition: Slide,
};

if (type !== ('success' || 'error' || 'warning')) {
if (type === 'default') {
toast(txt, toastOption);
} else {
toast[type](txt, toastOption);
Expand Down

0 comments on commit 3efc41c

Please sign in to comment.