small improvement

This commit is contained in:
daniel31x13
2024-04-20 10:49:06 -04:00
parent 8278878673
commit b702aa0401
2 changed files with 26 additions and 6 deletions
+1
View File
@@ -75,6 +75,7 @@ export default function App({
<span data-testid="toast-message">{message}</span>
{t.type !== "loading" && (
<button
className="btn btn-xs outline-none btn-circle btn-ghost"
data-testid="close-toast-button"
onClick={() => toast.dismiss(t.id)}
>