Skip to content

Commit

Permalink
feat: disable create node buttons if not logged in
Browse files Browse the repository at this point in the history
  • Loading branch information
amalcaraz committed Dec 6, 2023
1 parent 66d3381 commit 7819952
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/pages/earn/ComputeResourceNodesPage/cmp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export const ComputeResourceNodesPage = memo((props) => {
variant="secondary"
size="regular"
tw="gap-2.5"
disabled={!account}
>
<Icon name="key" />
Create compute node
Expand Down
1 change: 1 addition & 0 deletions src/components/pages/earn/CoreChannelNodesPage/cmp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export const CoreChannelNodesPage = memo((props) => {
variant="secondary"
size="regular"
tw="gap-2.5"
disabled={!account}
>
<Icon name="key" />
Create core node
Expand Down

0 comments on commit 7819952

Please sign in to comment.