Skip to content

Commit

Permalink
Merge branch 'fix/switch-back-to-beta' of github.com:valory-xyz/olas-…
Browse files Browse the repository at this point in the history
…operate-app into fix/switch-back-to-beta
  • Loading branch information
truemiller committed Sep 11, 2024
2 parents 042cdef + fda2588 commit df34aec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export const StakingContractSection = ({
*/
const isSelectedOrUnstakedDefault = useMemo(() => {
if (activeStakingProgram === null)
return stakingProgram === defaultStakingProgram;
return defaultStakingProgram === stakingProgram;
return activeStakingProgram === stakingProgram;
}, [activeStakingProgram, defaultStakingProgram, stakingProgram]);

Expand Down

0 comments on commit df34aec

Please sign in to comment.