Skip to content

Commit df0916b

Browse files
committed
style: toast 위치를 오른쪽 하단으로 변경
- toast 위치를 오른쪽 하단으로 변경, 오른쪽 상단의 프로필 버튼과 겹치는 문제 해결
1 parent c99e78c commit df0916b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/Toast.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,15 @@ export function ShowToast(message: string, toastType = 'success') {
2121
theme: 'light',
2222
draggable: true,
2323
icon: <CustomIconBlue />,
24+
position: 'bottom-right',
2425
});
2526
} else {
2627
toast.error(`${message}`, {
2728
autoClose: 3000,
2829
theme: 'light',
2930
draggable: true,
3031
icon: <CustomIconRed />,
32+
position: 'bottom-right',
3133
});
3234
}
3335
}

0 commit comments

Comments
 (0)