Skip to content

Commit

Permalink
Interact UI Nit
Browse files Browse the repository at this point in the history
  • Loading branch information
SilentCicero authored Mar 27, 2024
1 parent 479524a commit 5583d92
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/src/features/toolbar/components/ActionToolbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,11 @@ function ActionToolbar({
updateLog={updateLog}
/>
)}
{!isMobile && (
{!isMobile && deployState === DeployState.DEPLOYED && (
<SecondaryButton
header={true}
onClick={() => setDrawerOpen(!drawerOpen)}
text='INTERACT'
disabled={deployState !== DeployState.DEPLOYED}
tooltip={
deployState !== DeployState.DEPLOYED
? 'A contract must be deployed to interact with it on-chain'
Expand Down

0 comments on commit 5583d92

Please sign in to comment.