Skip to content

Commit

Permalink
Disable auto enable Karura
Browse files Browse the repository at this point in the history
  • Loading branch information
saltict committed May 30, 2024
1 parent e15c825 commit 7c73df2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
import EnableAvailGoldberg from '@subwallet/extension-base/services/migration-service/scripts/EnableAvailGoldberg';

import BaseMigrationJob from '../Base';
import EnableAcalaChain from "@subwallet/extension-base/services/migration-service/scripts/EnableAcalaChain";
import EnableKaruraChain from "@subwallet/extension-base/services/migration-service/scripts/EnableKaruraChain";

export const EVERYTIME = '__everytime__';

Expand Down Expand Up @@ -34,9 +32,7 @@ export default <Record<string, typeof BaseMigrationJob>>{
// '1.1.44-01': MigrateAssetSetting,
// '1.1.45-01': MigrateTransactionHistoryBySymbol,
// '1.1.46-01': AutoEnableSomeTokens
'1.1.51-01': EnableAvailGoldberg,
'1.1.51-10': EnableAcalaChain,
'1.1.51-20': EnableKaruraChain
'1.1.51-01': EnableAvailGoldberg
// [`${EVERYTIME}-1.1.42-02`]: MigrateTransactionHistoryBySymbol
// [`${EVERYTIME}-1`]: AutoEnableChainsTokens
};
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@

import { _FundStatus } from '@subwallet/chain-list/types';
import { CampaignBanner } from '@subwallet/extension-base/background/KoniTypes';
import { CrowdloanItem, EmptyList, FilterModal, Layout, PageWrapper } from '@subwallet/extension-koni-ui/components';
import { EmptyList, FilterModal, Layout, PageWrapper } from '@subwallet/extension-koni-ui/components';
import { CrowdloanItem } from '@subwallet/extension-koni-ui/components/Crowdloan';
import { DataContext } from '@subwallet/extension-koni-ui/contexts/DataContext';
import { useFilterModal, useGetBannerByScreen, useGetCrowdloanList, useSelector, useSetCurrentPage, useTranslation } from '@subwallet/extension-koni-ui/hooks';
import { _CrowdloanItemType, ThemeProps } from '@subwallet/extension-koni-ui/types';
Expand Down Expand Up @@ -170,8 +171,8 @@ function Component ({ className = '' }: Props): React.ReactElement<Props> {
}

<SwList.Section
autoFocusSearch={false}
actionBtnIcon={<Icon phosphorIcon={FadersHorizontal} />}
autoFocusSearch={false}
enableSearchInput
filterBy={filterFunction}
list={items}
Expand Down
2 changes: 1 addition & 1 deletion packages/webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.11.1"
}
}
}

0 comments on commit 7c73df2

Please sign in to comment.