Skip to content

Commit

Permalink
fix: 토스트의 색상을 변경시켜도 적용되지 않던 문제 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
pp449 committed Dec 13, 2024
1 parent 4d0bd64 commit ceec615
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/common/Toast/Toast.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const Toast = () => {
}, 500);

return () => clearTimeout(timer);
}, [toastInfo.isOpen]);
}, [toastInfo.isOpen, toastInfo.message, toastInfo.type]);

if (!toastContainer || !isOpen) {
return <></>;
Expand Down

0 comments on commit ceec615

Please sign in to comment.