From b24a38301fc7bdd59c3721b8c1ca123ed7a7f313 Mon Sep 17 00:00:00 2001 From: Hristo Nedelkov Date: Mon, 18 Mar 2024 13:33:29 +0200 Subject: [PATCH] fix(create local node): fix bug on navigate --- src/pages/CreateLocalNode/CreateLocalNode.tsx | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/pages/CreateLocalNode/CreateLocalNode.tsx b/src/pages/CreateLocalNode/CreateLocalNode.tsx index b5d23ac9..b6f5314f 100644 --- a/src/pages/CreateLocalNode/CreateLocalNode.tsx +++ b/src/pages/CreateLocalNode/CreateLocalNode.tsx @@ -1,7 +1,7 @@ import { useState } from 'react' import { Button as StatusButton, Text, Checkbox } from '@status-im/components' import { NodeIcon } from '@status-im/icons' -import { Label, Separator, XStack, YStack } from 'tamagui' +import { Label, Separator, Stack, XStack, YStack } from 'tamagui' import PageWrapperShadow from '../../components/PageWrappers/PageWrapperShadow' import Header from '../../components/General/Header' @@ -44,13 +44,14 @@ const CreateLocalNode = () => { - } - onPress={navigate('/device-health-check')} - cursor="pointer" - > - Continue - + + } + onPress={() => navigate('/device-health-check')} + > + Continue + +