fix: wrong spelling function

This commit is contained in:
RadoslavDimchev 2023-12-15 10:30:19 +02:00
parent a4fc6a6796
commit 74e2b956bb
1 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ import styles from './LandingPage.module.css'
const LandingPage = () => {
const navigate = useNavigate()
const getStartedHanlder = () => {
const onGetStartedHandler = () => {
navigate('/pair-device')
}
@ -32,7 +32,7 @@ const LandingPage = () => {
</Text>
</YStack>
<XStack>
<StatusButton icon={<NodeIcon size={20} />} onPress={getStartedHanlder}>
<StatusButton icon={<NodeIcon size={20} />} onPress={onGetStartedHandler}>
Get Started
</StatusButton>
</XStack>