fix: console error for not valid child of Link

This commit is contained in:
RadoslavDimchev 2023-08-24 15:02:28 +03:00
parent 3305a2c4ae
commit 6a57932038
1 changed files with 5 additions and 5 deletions

View File

@ -35,12 +35,12 @@ const Overview = () => {
</Text>
<Stack style={{ margin: '2% 0 4%', maxWidth: 'fit-content' }}>
<Text size={15}>
<Link to={'/'}>
<XStack space={'$1'} style={{ alignItems: 'center', color: '#2A4CF4' }}>
<XStack space={'$1'} style={{ alignItems: 'center' }}>
<Link style={{ color: '#2A4CF4' }} to={'/'}>
Learn more
<ArrowRightIcon size={16} color="#2A4CF4" />
</XStack>
</Link>
</Link>
<ArrowRightIcon size={16} color="#2A4CF4" />
</XStack>
</Text>
</Stack>
<XStack space={'$5'}>