File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
src/components/common/PsaBanner Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -8,17 +8,14 @@ import styles from './index.module.css'
8
8
import { hasFeature } from '@/utils/chains'
9
9
import { useCurrentChain } from '@/hooks/useChains'
10
10
import useLocalStorage from '@/services/local-storage/useLocalStorage'
11
- import { useRouter } from 'next/router'
12
11
import { selectAllAddressBooks } from '@/store/addressBookSlice'
13
12
import { useAppSelector } from '@/store'
14
13
15
14
const WARNING_BANNER = 'WARNING_BANNER'
16
15
const OLD_APP = 'https://gnosis-safe.io/app'
17
16
18
17
const ExportLink = ( { children } : { children : ReactNode } ) : ReactElement => {
19
- const router = useRouter ( )
20
- const safeAddress = router . query . safe as string
21
- const url = safeAddress ? `${ OLD_APP } /${ safeAddress } /settings/details` : `${ OLD_APP } /export`
18
+ const url = `${ OLD_APP } /export`
22
19
23
20
return (
24
21
< a href = { url } target = "_blank" rel = "noreferrer" >
You can’t perform that action at this time.
0 commit comments