mirror of
https://github.com/fosrl/pangolin.git
synced 2026-06-05 23:28:44 +00:00
💄 fix blueprint toast color
This commit is contained in:
@@ -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
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user