From 8327f95fb5491a6bce3bd2ef92e215fb21351b73 Mon Sep 17 00:00:00 2001 From: Chris Jacobs Date: Fri, 2 Aug 2024 16:29:10 -0700 Subject: [PATCH 1/2] fix: extend stake function - The value input here should be the amount wanted to be added, not the total end amount of the lockup. --- libs/defi/ogn/src/staking/components/ExtendAddLockupModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/defi/ogn/src/staking/components/ExtendAddLockupModal.tsx b/libs/defi/ogn/src/staking/components/ExtendAddLockupModal.tsx index b8ac467d0..4219209f6 100644 --- a/libs/defi/ogn/src/staking/components/ExtendAddLockupModal.tsx +++ b/libs/defi/ogn/src/staking/components/ExtendAddLockupModal.tsx @@ -128,7 +128,7 @@ export const ExtendAddLockupModal = ({ contract: tokens.mainnet.xOGN, functionName: 'stake', args: [ - totalAmount[0], + amountToAdd[0], durationSeconds, address ?? ZERO_ADDRESS, addRewards, From a02d3db7f95b0129c482e3314f76be36c2d67f14 Mon Sep 17 00:00:00 2001 From: toniocodo Date: Fri, 9 Aug 2024 18:04:35 +0200 Subject: [PATCH 2/2] feat: remove safe wallet icon --- apps/defi/src/components/Topnav/components/AlertPopover.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/defi/src/components/Topnav/components/AlertPopover.tsx b/apps/defi/src/components/Topnav/components/AlertPopover.tsx index f545cac5d..5d47bd4af 100644 --- a/apps/defi/src/components/Topnav/components/AlertPopover.tsx +++ b/apps/defi/src/components/Topnav/components/AlertPopover.tsx @@ -2,7 +2,7 @@ import { Divider, IconButton, Stack, Typography } from '@mui/material'; import { useTxButton } from '@origin/defi/shared'; import { ClickAwayPopover, TokenIcon } from '@origin/shared/components'; import { tokens } from '@origin/shared/contracts'; -import { FaXmarkRegular, PoweredBySafe } from '@origin/shared/icons'; +import { FaXmarkRegular } from '@origin/shared/icons'; import { TxButton } from '@origin/shared/providers'; import { useIntl } from 'react-intl'; @@ -46,7 +46,6 @@ export const AlertPopover = ( > - {intl.formatMessage({ defaultMessage: