Skip to content

Commit

Permalink
correct comment
Browse files Browse the repository at this point in the history
  • Loading branch information
0xfirefist committed Dec 5, 2023
1 parent 19ccf55 commit cc9f68c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/components/panels/StakePanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ export function StakePanel({ mainStakeAccount }: StakePanelProps) {
amount,
// If mainStakeAccount is undefined this action is disabled
// undefined means that the mainStakeAccount is loading.
// If we execute this action, this will work. But it will create a
// new stake account for the user.
// If we execute this action when mainStakeAccount is undefined,
// this will work. But it will create a new stake account for the user.
mainStakeAccount: mainStakeAccount as StakeAccount | 'NA',
// action is disabled below if these is undefined
stakeConnection: stakeConnection!,
Expand Down

0 comments on commit cc9f68c

Please sign in to comment.