Skip to content

Commit

Permalink
chore: Update MainHeader to handle staked/bonded OLAS requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
truemiller committed May 29, 2024
1 parent 67d94f5 commit 825a8c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/components/Main/MainHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ export const MainHeader = () => {

// case where service exists & user has initial funded
if (services[0] && storeState?.isInitialFunded)
return safeOlasBalanceWithStaked >= requiredOlas; // at present agent will always require staked/bonded OLAS
return safeOlasBalanceWithStaked >= requiredOlas; // at present agent will always require staked/bonded OLAS (or the ability to stake/bond)

return (
safeOlasBalanceWithStaked >= requiredOlas &&
Expand Down

0 comments on commit 825a8c0

Please sign in to comment.