From 6d14a4df499fe696562b835992edb68b46dd6847 Mon Sep 17 00:00:00 2001 From: Fred KISSIE Date: Wed, 27 May 2026 01:36:45 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20fix=20blueprint=20toast=20color?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/CreateBlueprintForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/CreateBlueprintForm.tsx b/src/components/CreateBlueprintForm.tsx index 2b58f34f6..e71a66572 100644 --- a/src/components/CreateBlueprintForm.tsx +++ b/src/components/CreateBlueprintForm.tsx @@ -109,7 +109,7 @@ export default function CreateBlueprintForm({ if (res && res.status === 201) { const createdBlueprint = res.data.data; toast({ - variant: "warning", + variant: createdBlueprint.succeeded ? "default" : "warning", title: createdBlueprint.succeeded ? "Success" : "Warning", description: createdBlueprint.message });