Clear code and fix warning

This commit is contained in:
Hristo Nedelkov 2023-08-24 13:55:48 +03:00
parent 7cadce718e
commit 9f94dff596
1 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,5 @@
import { Button, Shadow, Text } from '@status-im/components' import { Button, Shadow, Text } from '@status-im/components'
import { Stack, XStack, YStack } from 'tamagui' import { Stack, XStack, YStack } from 'tamagui'
import IconText from '../../../components/General/IconText'
import { Link } from 'react-router-dom' import { Link } from 'react-router-dom'
const Advicsories = () => { const Advicsories = () => {
@ -41,8 +40,11 @@ const Advicsories = () => {
with an otherwise healthy network does not result in slashing, but will result in with an otherwise healthy network does not result in slashing, but will result in
small inactivity penalties. small inactivity penalties.
</Text> </Text>
<Text size={13} style={{ textDecorationLine: 'underline' }} color="#484848"> <Text size={13}>
<Link to={'https://github.com/ethereum/consensus-specs'}> <Link
to={'https://github.com/ethereum/consensus-specs'}
style={{ textDecorationLine: 'underline', color: '#484848' }}
>
The Ethereum consensus layer specification The Ethereum consensus layer specification
</Link> </Link>
</Text> </Text>