Skip to content

Commit

Permalink
feat: Updated plugin/src/features/Deployment/index
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Oct 31, 2023
1 parent 3ab2427 commit 48441ac
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions plugin/src/features/Deployment/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -442,11 +442,10 @@ const Deployment: React.FC<DeploymentProps> = ({ 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()
}

Expand Down

0 comments on commit 48441ac

Please sign in to comment.