From cb7d4994d5851e637e208ddcdda8057f9a699401 Mon Sep 17 00:00:00 2001
From: Vayras <89837102+Vayras@users.noreply.github.com>
Date: Mon, 27 May 2024 12:16:55 +0530
Subject: [PATCH] add type fix
---
.../ModalsContainer/BlueprintModal/Body/Toolbar/index.tsx | 2 +-
.../ModalsContainer/BlueprintModal/Body/index.tsx | 7 ++++++-
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/components/ModalsContainer/BlueprintModal/Body/Toolbar/index.tsx b/src/components/ModalsContainer/BlueprintModal/Body/Toolbar/index.tsx
index 0de53a452..f762b16b1 100644
--- a/src/components/ModalsContainer/BlueprintModal/Body/Toolbar/index.tsx
+++ b/src/components/ModalsContainer/BlueprintModal/Body/Toolbar/index.tsx
@@ -15,7 +15,7 @@ export const Toolbar = ({ onCreateNew }: Props) => (
- Add Item
+ Add Type
)
diff --git a/src/components/ModalsContainer/BlueprintModal/Body/index.tsx b/src/components/ModalsContainer/BlueprintModal/Body/index.tsx
index d816d3065..b7c6743a2 100644
--- a/src/components/ModalsContainer/BlueprintModal/Body/index.tsx
+++ b/src/components/ModalsContainer/BlueprintModal/Body/index.tsx
@@ -113,7 +113,12 @@ export const Body = () => {
<>
- setIsCreateNew(true)} />
+ {
+ setIsCreateNew(true)
+ setSelectedSchemaId('')
+ }}
+ />
{selectedSchema || isCreateNew ? (