export default function Toasts({ toasts }) { if (!toasts.length) return null; return (
{toasts.map(t => (
{t.msg}
))}
); }