summaryrefslogtreecommitdiff
path: root/frontend/src/components/Toast.tsx
diff options
context:
space:
mode:
authorAAGaming <aa@mail.catvibers.me>2022-10-14 20:09:11 -0400
committerGitHub <noreply@github.com>2022-10-14 17:09:11 -0700
commit3ac0abc82bd266eecb7c5f468481e364790be665 (patch)
tree46420533b8936b12c925818054aca37373f4dcb4 /frontend/src/components/Toast.tsx
parent618abec97ade612966ed7cae52a0fd7b6efc8863 (diff)
downloaddecky-loader-3ac0abc82bd266eecb7c5f468481e364790be665.tar.gz
decky-loader-3ac0abc82bd266eecb7c5f468481e364790be665.zip
Rewrite toaster hook to not re-create the window (#217)v2.2.4-pre1
Diffstat (limited to 'frontend/src/components/Toast.tsx')
-rw-r--r--frontend/src/components/Toast.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/components/Toast.tsx b/frontend/src/components/Toast.tsx
index 559c37c6..01a436d7 100644
--- a/frontend/src/components/Toast.tsx
+++ b/frontend/src/components/Toast.tsx
@@ -32,7 +32,7 @@ const Toast: FunctionComponent<ToastProps> = ({ toast }) => {
return (
<div
style={{ '--toast-duration': `${toast.nToastDurationMS}ms` } as React.CSSProperties}
- className={joinClassNames(toastClasses.ToastPopup, toastClasses.toastEnter)}
+ className={toastClasses.toastEnter}
>
<div
onClick={toast.data.onClick}