Skip to content
Open
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
10 changes: 0 additions & 10 deletions packages/extension-koni-ui/src/Popup/Settings/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,16 +154,6 @@ function Component ({ className = '' }: Props): React.ReactElement<Props> {
},
isHidden: !isPopupMode
},
{
key: 'crowdloans',
leftIcon: Rocket,
leftIconBgColor: token['cyan-5'],
rightIcon: CaretRight,
title: t('ui.SETTINGS.screen.Setting.Root.crowdloans'),
onClick: () => {
navigate('/settings/crowdloans', { state: true });
}
}
]
},
{
Expand Down
2 changes: 0 additions & 2 deletions packages/extension-koni-ui/src/Popup/router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ const NftImport = new LazyLoader('NftImport', () => import('@subwallet/extension
const Governance = new LazyLoader('Governance', () => import('@subwallet/extension-koni-ui/Popup/Home/Governance'));

const History = new LazyLoader('History', () => import('@subwallet/extension-koni-ui/Popup/Home/History'));
const Crowdloans = new LazyLoader('Crowdloans', () => import('@subwallet/extension-koni-ui/Popup/Home/Crowdloans'));
const Home = new LazyLoader('Home', () => import('@subwallet/extension-koni-ui/Popup/Home'));

const Settings = new LazyLoader('Settings', () => import('@subwallet/extension-koni-ui/Popup/Settings'));
Expand Down Expand Up @@ -259,7 +258,6 @@ export const router = createHashRouter([
Settings.generateRouterObject('list'),
GeneralSetting.generateRouterObject('general'),
AccountSettings.generateRouterObject('account-settings'),
Crowdloans.generateRouterObject('crowdloans'),
ManageAddressBook.generateRouterObject('address-book'),
SecurityList.generateRouterObject('security'),
ManageWebsiteAccess.generateRouterObject('dapp-access'),
Expand Down
2 changes: 0 additions & 2 deletions packages/extension-web-ui/src/Popup/router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ const InscriptionItems = new LazyLoader('InscriptionItems', () => import('@subwa
const InscriptionItemDetail = new LazyLoader('InscriptionItemDetail', () => import('@subwallet/extension-web-ui/Popup/Home/Inscriptions/InscriptionItemDetail'));

const History = new LazyLoader('History', () => import('@subwallet/extension-web-ui/Popup/Home/History'));
const Crowdloans = new LazyLoader('Crowdloans', () => import('@subwallet/extension-web-ui/Popup/Home/Crowdloans'));
const Home = new LazyLoader('Home', () => import('@subwallet/extension-web-ui/Popup/Home'));
const Statistics = new LazyLoader('Statistics', () => import('@subwallet/extension-web-ui/Popup/Home/Statistics'));

Expand Down Expand Up @@ -208,7 +207,6 @@ export const router = createBrowserRouter([
InscriptionItemDetail.generateRouterObject('item-detail')
]
},
Crowdloans.generateRouterObject('crowdloans'),
{
path: 'earning',
element: <Outlet />,
Expand Down
10 changes: 0 additions & 10 deletions packages/extension-web-ui/src/components/Layout/base/Base.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,16 +116,6 @@ const Component = ({ children, className, footer, headerIcons, isSetTitleContext
key: 'mission-pools',
url: '/home/mission-pools'
},
{
icon: {
type: 'phosphor',
phosphorIcon: Rocket,
weight: 'fill'
},
label: t('Crowdloans'),
key: 'crowdloans',
url: '/home/crowdloans'
},
{
icon: {
type: 'phosphor',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ function Component ({ className,
'Home',
'Tokens',
'NftCollections',
'Crowdloans',
'Staking',
'Settings'
]);
Expand Down Expand Up @@ -113,15 +112,6 @@ function Component ({ className,
)
}
},
{
label: t('Crowdloans'),
value: '/home/crowdloans',
icon: {
type: 'phosphor',
phosphorIcon: Rocket,
weight: 'fill'
}
},
{
label: t('History'),
value: '/home/history',
Expand Down