From 43bebe4f878bd4a2dd77f3067f6c733e515632d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Brzezin=CC=81ski?= Date: Mon, 2 Oct 2023 16:39:21 +0200 Subject: [PATCH] unlock daily --- .../components/Account/LockTokensModal.tsx | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/VoteStakeRegistry/components/Account/LockTokensModal.tsx b/VoteStakeRegistry/components/Account/LockTokensModal.tsx index 0e042f0f2f..f4bd7b58ef 100644 --- a/VoteStakeRegistry/components/Account/LockTokensModal.tsx +++ b/VoteStakeRegistry/components/Account/LockTokensModal.tsx @@ -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)} />