Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/quiet-mirrors-rule.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'frontend': patch
---

chore: remove BOB pool migration mentions
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,14 @@ import React, { FC } from 'react';

import { t } from 'i18next';

import { Button, ButtonSize, ButtonStyle } from '@sovryn/ui';

import { BOB_MIGRATION_LINK } from '../../3_organisms/RuneBridgeDialog/constants';
import { useChainStore } from '../../../hooks/useChainStore';
import { translations } from '../../../locales/i18n';
import { isBobChain } from '../../../utils/chain';

export const DeprecatedBadge: FC = () => {
const { currentChainId } = useChainStore();

if (!isBobChain(currentChainId)) {
return null;
}

return (
<div className="flex items-center gap-1.5">
<span className="text-gray-10 font-medium text-[10px] border border-primary-30 rounded-sm px-1 py-0.5">
{t(translations.ambientMarketMaking.deprecated)}
</span>
<Button
text={t(translations.ambientMarketMaking.migrate)}
size={ButtonSize.small}
style={ButtonStyle.ghost}
href={BOB_MIGRATION_LINK}
hrefExternal
onClick={e => e.stopPropagation()}
/>
</div>
);
};
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import { loadIndexer } from '../../../../../lib/indexer';
import { translations } from '../../../../../locales/i18n';
import { AmbientPoolsTable } from './components/AmbientPoolsTable/AmbientPoolsTable';
import { BOBFusionSeasonBanner } from './components/BOBFusionSeasonBanner/BOBFusionSeasonBanner';
import { BOBMigrationBanner } from './components/BOBMigrationBanner/BOBMigrationBanner';

export const AmbientMarketMaking: FC = () => {
const chainId = useCurrentChain();
Expand Down Expand Up @@ -66,8 +65,6 @@ export const AmbientMarketMaking: FC = () => {
{t(translations.ambientMarketMaking.title)}
</Heading>

<BOBMigrationBanner />

<div className="w-full my-4">
<div className="relative flex items-center">
<Icon
Expand Down

This file was deleted.

1 change: 0 additions & 1 deletion apps/frontend/src/locales/en/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -1933,7 +1933,6 @@
},
"migrationBanner": "There is migration of assets happening on BOB network. Some pools are deprecated ",
"deprecated": "Deprecated",
"migrate": "Migrate",
"deprecatedTooltips": {
"usdt": {
"pool": "USDT is migrating to oUSDT. This pool is deprecated. Please remove liquidity and swap USDT to oUSDT.",
Expand Down