Skip to content

Commit

Permalink
toast: prevent clear on router
Browse files Browse the repository at this point in the history
  • Loading branch information
pulsejet committed Feb 22, 2025
1 parent 90680a6 commit c196898
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils/toast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,15 @@ export class Toast {
enter: 'fade-toast--enter--disabled',
exit: 'fade-toast--leave',
},
clearOnUrlChange: false,
} as {
theme: 'dark' | 'light';
position: 'bottom-right';
transition: {
enter: string;
exit: string;
};
clearOnUrlChange: boolean;
};
}
}

0 comments on commit c196898

Please sign in to comment.