Revert "Rewrite toaster hook to not re-create the window (#217)"

This reverts commit 3ac0abc82b.
This commit is contained in:
AAGaming
2022-10-14 22:41:46 -04:00
parent 6e48aefce8
commit 7445f066ed
2 changed files with 25 additions and 14 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ const Toast: FunctionComponent<ToastProps> = ({ toast }) => {
return (
<div
style={{ '--toast-duration': `${toast.nToastDurationMS}ms` } as React.CSSProperties}
className={toastClasses.toastEnter}
className={joinClassNames(toastClasses.ToastPopup, toastClasses.toastEnter)}
>
<div
onClick={toast.data.onClick}