Skip to content

Commit

Permalink
feat(Multichain): link to help article (#4361)
Browse files Browse the repository at this point in the history
  • Loading branch information
schmanu authored Oct 11, 2024
1 parent a827466 commit 5dfcaab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/config/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,4 @@ export const CHAINALYSIS_OFAC_CONTRACT = '0x40c57923924b5c5c5455c48d93317139adda

export const ECOSYSTEM_ID_ADDRESS =
process.env.NEXT_PUBLIC_ECOSYSTEM_ID_ADDRESS || '0x0000000000000000000000000000000000000000'
export const MULTICHAIN_HELP_ARTICLE = `${HELP_CENTER_URL}/en/articles/222612-multi-chain-safe`
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import { type ChainInfo } from '@safe-global/safe-gateway-typescript-sdk'
import { useMemo, useState } from 'react'
import { useCompatibleNetworks } from '../../hooks/useCompatibleNetworks'
import { PayMethod } from '@/features/counterfactual/PayNowPayLater'
import { MULTICHAIN_HELP_ARTICLE } from '@/config/constants'

type CreateSafeOnNewChainForm = {
chainId: string
Expand Down Expand Up @@ -213,7 +214,7 @@ const ReplaySafeDialog = ({
<DialogActions>
{isUnsupportedSafeCreationVersion ? (
<Box display="flex" width="100%" alignItems="center" justifyContent="space-between">
<ExternalLink sx={{ flexGrow: 1 }} href="https://safe.global">
<ExternalLink sx={{ flexGrow: 1 }} href={MULTICHAIN_HELP_ARTICLE}>
Read more
</ExternalLink>
<Button variant="contained" onClick={onClose}>
Expand Down

0 comments on commit 5dfcaab

Please sign in to comment.