1
- import { Flex , Link , Text } from '@chakra-ui/react'
1
+ import { Flex , Text } from '@chakra-ui/react'
2
2
import { ExclamationCircleIcon } from '@heroicons/react/20/solid'
3
3
import { ReactNode } from 'react'
4
4
@@ -31,19 +31,21 @@ const warningsData: Record<
31
31
< >
32
32
Some of our tokens are not available to Restricted Persons - including
33
33
US persons - as defined in our{ ' ' }
34
- < Link
34
+ < a
35
35
href = 'https://indexcoop.com/terms-of-service'
36
- style = { { textDecoration : 'underline' } }
36
+ className = 'underline'
37
+ target = '_blank'
37
38
>
38
39
Terms of Service
39
- </ Link >
40
+ </ a >
40
41
. Please also see our{ ' ' }
41
- < Link
42
+ < a
42
43
href = 'https://indexcoop.com/tokens-restricted-for-restricted-persons'
43
- style = { { textDecoration : 'underline' } }
44
+ className = 'underline'
45
+ target = '_blank'
44
46
>
45
47
Tokens Restricted for Restricted Persons
46
- </ Link > { ' ' }
48
+ </ a > { ' ' }
47
49
page.
48
50
</ >
49
51
) ,
@@ -55,19 +57,21 @@ const warningsData: Record<
55
57
It appears you may be using a VPN and, because some of our tokens are
56
58
not available to Restricted Persons - including US persons - as defined
57
59
in our{ ' ' }
58
- < Link
60
+ < a
59
61
href = 'https://indexcoop.com/terms-of-service'
60
- style = { { textDecoration : 'underline' } }
62
+ className = 'underline'
63
+ target = '_blank'
61
64
>
62
65
Terms of Service
63
- </ Link >
66
+ </ a >
64
67
, we are required to restrict access to VPN users. Please also see our{ ' ' }
65
- < Link
68
+ < a
66
69
href = 'https://indexcoop.com/tokens-restricted-for-restricted-persons'
67
- style = { { textDecoration : 'underline' } }
70
+ className = 'underline'
71
+ target = '_blank'
68
72
>
69
73
Tokens Restricted for Restricted Persons
70
- </ Link > { ' ' }
74
+ </ a > { ' ' }
71
75
page.
72
76
</ >
73
77
) ,
@@ -121,17 +125,13 @@ export const WarningCompProtection = () => {
121
125
textColor = { colors . ic . gray [ 600 ] }
122
126
>
123
127
It is highly recommended to use an MEV protected RPC.{ ' ' }
124
- < Link onClick = { onClick } style = { { textDecoration : ' underline' } } >
128
+ < span onClick = { onClick } className = 'cursor-pointer underline'>
125
129
Click here
126
- </ Link > { ' ' }
130
+ </ span > { ' ' }
127
131
to add the MEV Blocker network to your wallet.{ ' ' }
128
- < Link
129
- href = 'https://mevblocker.io/'
130
- isExternal
131
- style = { { textDecoration : 'underline' } }
132
- >
132
+ < a href = 'https://mevblocker.io/' target = '_blank' className = 'underline' >
133
133
Learn More about MEV protection
134
- </ Link >
134
+ </ a >
135
135
</ Text >
136
136
</ Flex >
137
137
)
0 commit comments