Skip to content

Commit

Permalink
unlock daily
Browse files Browse the repository at this point in the history
  • Loading branch information
abrzezinski94 committed Oct 2, 2023
1 parent 14e394b commit 43bebe4
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions VoteStakeRegistry/components/Account/LockTokensModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -376,16 +376,10 @@ const LockTokensModal = ({
onChange={(type) =>
setLockupType(
//@ts-ignore
lockupTypes
.filter(
(x) => x.value !== MONTHLY && x.value !== DAILY
)
.find((t) => t.displayName === type)
lockupTypes.find((t) => t.displayName === type)
)
}
values={lockupTypes
.filter((x) => x.value !== MONTHLY && x.value !== DAILY)
.map((type) => type.displayName)}
values={lockupTypes.map((type) => type.displayName)}
/>
</div>
</>
Expand Down

0 comments on commit 43bebe4

Please sign in to comment.