JWT auth plugin and necessary updates

This commit is contained in:
Gregory Schier committed 2025-01-17 08:02:55 -08:00
1 parent bd322162c8
commit 07ff709429
24 files changed
+327 -104

No files matched your search

+9
View File
@@ -34,3 +34,12 @@ export function hideToast(id: string) {
return all.filter((t) => t.id !== id);
});
}
export function showErrorToast<T>(id: string, message: T) {
return showToast({
id,
message: String(message),
timeout: 8000,
color: 'danger',
});
}