Skip to content

Commit

Permalink
feat: rambo rm fox page (#5910)
Browse files Browse the repository at this point in the history
  • Loading branch information
gomesalexandre authored Dec 21, 2023
1 parent acdf45d commit 7bf484c
Show file tree
Hide file tree
Showing 27 changed files with 1 addition and 2,049 deletions.
4 changes: 1 addition & 3 deletions src/hooks/useRouteAssetId/useRouteAssetId.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import type { AccountId, AssetId, ChainNamespace, ChainReference } from '@shapeshiftoss/caip'
import { toChainId } from '@shapeshiftoss/caip'
import { getFoxPageRouteAssetId } from 'plugins/foxPage/utils/getFoxPageRouteAssetId'
import { useMemo } from 'react'
import { matchPath, useLocation } from 'react-router'
import { getChainAdapterManager } from 'context/PluginProvider/chainAdapterSingleton'
Expand Down Expand Up @@ -65,9 +64,8 @@ export const useRouteAssetId = () => {

const assetId = useMemo(() => {
const routeAssetId = getRouteAssetId(location.pathname)
const foxPageRouteAssetId = getFoxPageRouteAssetId(location.pathname)

return decodeURIComponent(routeAssetId ?? foxPageRouteAssetId)
return decodeURIComponent(routeAssetId ?? '')
}, [location.pathname])

return assetId
Expand Down
2 changes: 0 additions & 2 deletions src/plugins/activePlugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import bnbsmartchain from 'plugins/bnbsmartchain'
import cosmos from 'plugins/cosmos'
import dogecoin from 'plugins/dogecoin'
import ethereum from 'plugins/ethereum'
import foxPage from 'plugins/foxPage'
import gnosis from 'plugins/gnosis'
import litecoin from 'plugins/litecoin'
import mobile from 'plugins/mobile'
Expand All @@ -24,7 +23,6 @@ export const activePlugins = [
dogecoin,
litecoin,
ethereum,
foxPage,
polygon,
gnosis,
avalanche,
Expand Down
67 changes: 0 additions & 67 deletions src/plugins/foxPage/FoxCommon.ts

This file was deleted.

212 changes: 0 additions & 212 deletions src/plugins/foxPage/components/AssetActions.tsx

This file was deleted.

35 changes: 0 additions & 35 deletions src/plugins/foxPage/components/BondProtocolCta.tsx

This file was deleted.

38 changes: 0 additions & 38 deletions src/plugins/foxPage/components/DappBack.tsx

This file was deleted.

Loading

0 comments on commit 7bf484c

Please sign in to comment.