mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-06 12:19:50 +00:00
💄 fix blueprint toast color
This commit is contained in:
@@ -109,7 +109,7 @@ export default function CreateBlueprintForm({
|
|||||||
if (res && res.status === 201) {
|
if (res && res.status === 201) {
|
||||||
const createdBlueprint = res.data.data;
|
const createdBlueprint = res.data.data;
|
||||||
toast({
|
toast({
|
||||||
variant: "warning",
|
variant: createdBlueprint.succeeded ? "default" : "warning",
|
||||||
title: createdBlueprint.succeeded ? "Success" : "Warning",
|
title: createdBlueprint.succeeded ? "Success" : "Warning",
|
||||||
description: createdBlueprint.message
|
description: createdBlueprint.message
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user