mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-01-17 14:18:17 +01:00
fix: toast not appearing
This commit is contained in:
parent
03ba0c384b
commit
34d0cde165
@ -19,7 +19,7 @@ export function Toaster(props: Props) {
|
|||||||
|
|
||||||
const removeMessage = setTimeout(() => {
|
const removeMessage = setTimeout(() => {
|
||||||
if (toastMessage?.type !== 'loading') {
|
if (toastMessage?.type !== 'loading') {
|
||||||
// $toastMessage.set(undefined);
|
$toastMessage.set(undefined);
|
||||||
}
|
}
|
||||||
}, 2500);
|
}, 2500);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user