From 39d90c354a15544dae422320cc7da1cef3a7b9d6 Mon Sep 17 00:00:00 2001 From: Drikus Roor Date: Wed, 1 Jan 2025 21:59:47 +0100 Subject: [PATCH] feat: export Toast interface for improved toast notification handling --- .../templates/form/experiment-form/src/utils/store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/experiment/templates/form/experiment-form/src/utils/store.ts b/backend/experiment/templates/form/experiment-form/src/utils/store.ts index 7c903ff1b..450c45c35 100644 --- a/backend/experiment/templates/form/experiment-form/src/utils/store.ts +++ b/backend/experiment/templates/form/experiment-form/src/utils/store.ts @@ -20,7 +20,7 @@ const createExperimentSlice: StateCreator = (set) => ({ }) }); -interface Toast { +export interface Toast { message: string; duration: number; level: "info" | "warning" | "error";