diff --git a/plugin/src/features/Deployment/index.tsx b/plugin/src/features/Deployment/index.tsx index 1b11fd38..28da57aa 100644 --- a/plugin/src/features/Deployment/index.tsx +++ b/plugin/src/features/Deployment/index.tsx @@ -442,11 +442,10 @@ const Deployment: React.FC = ({ setActiveTab }) => { const classHash = await fetchAddress(inputValue) const classData = await fetchClass(classHash) // handle class data - } else { - const classHash = await getClassHashAt(inputValue) - const classData = await getClassByHash(classHash) - // handle class data } + const classHash = await getClassHashAt(inputValue) + const classData = await getClassByHash(classHash) + // handle class data handleCloseModal() }