Skip to content

Commit

Permalink
fix: remove w5 beta from wallets selection in pro subscription
Browse files Browse the repository at this point in the history
  • Loading branch information
siandreev committed Jul 31, 2024
1 parent f5271e5 commit a6d4e30
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/uikit/src/components/settings/ProSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ import { Notification } from '../Notification';
import { SubHeader } from '../SubHeader';
import { Body1, Label1, Title } from '../Text';
import { ConfirmView } from '../transfer/ConfirmView';
import { sortWalletsByVersion, TonWalletStandard } from '@tonkeeper/core/dist/entries/wallet';
import {
backwardCompatibilityOnlyWalletVersions,
sortWalletsByVersion,
TonWalletStandard
} from '@tonkeeper/core/dist/entries/wallet';
import { AccountTonMnemonic, Account } from '@tonkeeper/core/dist/entries/account';
import { WalletEmoji } from '../shared/emoji/WalletEmoji';
import { WalletVersionBadge } from '../account/AccountBadge';
Expand Down Expand Up @@ -114,7 +118,7 @@ const SelectWallet: FC<{ onClose: () => void }> = ({ onClose }) => {
<ListBlock>
{accounts.flatMap(account =>
account.allTonWallets
.slice()
.filter(w => !backwardCompatibilityOnlyWalletVersions.includes(w.version))
.sort(sortWalletsByVersion)
.map(wallet => (
<ListItem
Expand Down

0 comments on commit a6d4e30

Please sign in to comment.