Update dependencies
This commit is contained in:
@@ -6,9 +6,11 @@ import clsx from "clsx";
|
||||
export default function Toaster({
|
||||
toast,
|
||||
className
|
||||
}: Readonly<ToasterProps>){
|
||||
}: Readonly<ToasterProps>) {
|
||||
//TODO: Rework how your toasters work
|
||||
return (
|
||||
<Transition
|
||||
// eslint-disable-next-line @eslint-react/purity
|
||||
show={toast.length > 1 || (toast.length === 1 && toast[0].hideTime > new Date())}
|
||||
enter="transform transition duration-500"
|
||||
enterFrom="-translate-y-[25vh]"
|
||||
|
||||
Reference in New Issue
Block a user