Skip to content

Commit

Permalink
SOV-4393: Fix deposit button (#995)
Browse files Browse the repository at this point in the history
* chore: fix deposit button

* Create shiny-chairs-look.md

* chore: update changeset

---------

Co-authored-by: soulBit <[email protected]>
  • Loading branch information
pietro-maximoff and soulBit authored Sep 6, 2024
1 parent e9a9400 commit 2136f59
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .changeset/shiny-chairs-look.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"frontend": patch
---

SOV-4393: Fix deposit button on Market Making page
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import { useAccount } from '../../../../../../../hooks/useAccount';
import { useBlockNumber } from '../../../../../../../hooks/useBlockNumber';
import { useMaintenance } from '../../../../../../../hooks/useMaintenance';
import { translations } from '../../../../../../../locales/i18n';
import { COMMON_SYMBOLS } from '../../../../../../../utils/asset';
import { useCheckPoolMaintenance } from '../../../../hooks/useCheckPoolMaintenance';
import { useGetUserInfo } from '../../../../hooks/useGetUserInfo';
import { AmmLiquidityPool } from '../../../../utils/AmmLiquidityPool';
Expand Down Expand Up @@ -109,11 +108,7 @@ export const PoolsTableAction: FC<PoolsTableActionProps> = ({ pool }) => {
<Button
style={ButtonStyle.primary}
size={ButtonSize.small}
text={
pool.assetA === COMMON_SYMBOLS.SOV
? t(translations.common.withdraw)
: t(translations.common.deposit)
}
text={t(translations.common.deposit)}
dataAttribute="pools-table-deposit-button"
className="w-full lg:w-auto prevent-row-click"
disabledStyle={actionLocked}
Expand Down

0 comments on commit 2136f59

Please sign in to comment.