Update Compound safe app (#2078)
This commit is contained in:
parent
847f22af09
commit
1b44f71485
|
@ -3,7 +3,6 @@ import memoize from 'lodash.memoize'
|
||||||
|
|
||||||
import { SafeApp, SAFE_APP_FETCH_STATUS } from './types.d'
|
import { SafeApp, SAFE_APP_FETCH_STATUS } from './types.d'
|
||||||
|
|
||||||
import { getGnosisSafeAppsUrl } from 'src/config'
|
|
||||||
import { getContentFromENS } from 'src/logic/wallets/getWeb3'
|
import { getContentFromENS } from 'src/logic/wallets/getWeb3'
|
||||||
import appsIconSvg from 'src/assets/icons/apps.svg'
|
import appsIconSvg from 'src/assets/icons/apps.svg'
|
||||||
import { ETHEREUM_NETWORK } from 'src/config/networks/network.d'
|
import { ETHEREUM_NETWORK } from 'src/config/networks/network.d'
|
||||||
|
@ -17,7 +16,6 @@ const removeLastTrailingSlash = (url) => {
|
||||||
return url
|
return url
|
||||||
}
|
}
|
||||||
|
|
||||||
const gnosisAppsUrl = removeLastTrailingSlash(getGnosisSafeAppsUrl())
|
|
||||||
export type StaticAppInfo = {
|
export type StaticAppInfo = {
|
||||||
url: string
|
url: string
|
||||||
disabled: boolean
|
disabled: boolean
|
||||||
|
@ -56,7 +54,11 @@ export const staticAppsList: Array<StaticAppInfo> = [
|
||||||
networks: [ETHEREUM_NETWORK.RINKEBY, ETHEREUM_NETWORK.XDAI],
|
networks: [ETHEREUM_NETWORK.RINKEBY, ETHEREUM_NETWORK.XDAI],
|
||||||
},
|
},
|
||||||
// Compound
|
// Compound
|
||||||
{ url: `${gnosisAppsUrl}/compound`, disabled: false, networks: [ETHEREUM_NETWORK.MAINNET, ETHEREUM_NETWORK.RINKEBY] },
|
{
|
||||||
|
url: `${process.env.REACT_APP_IPFS_GATEWAY}/QmX31xCdhFDmJzoVG33Y6kJtJ5Ujw8r5EJJBrsp8Fbjm7k`,
|
||||||
|
disabled: false,
|
||||||
|
networks: [ETHEREUM_NETWORK.MAINNET, ETHEREUM_NETWORK.RINKEBY],
|
||||||
|
},
|
||||||
// dHedge
|
// dHedge
|
||||||
{
|
{
|
||||||
url: `${process.env.REACT_APP_IPFS_GATEWAY}/QmaiemnumMaaK9wE1pbMfm3YSBUpcFNgDh3Bf6VZCZq57Q`,
|
url: `${process.env.REACT_APP_IPFS_GATEWAY}/QmaiemnumMaaK9wE1pbMfm3YSBUpcFNgDh3Bf6VZCZq57Q`,
|
||||||
|
|
Loading…
Reference in New Issue