fix: wrong spelling function
This commit is contained in:
parent
a4fc6a6796
commit
74e2b956bb
|
@ -11,7 +11,7 @@ import styles from './LandingPage.module.css'
|
||||||
const LandingPage = () => {
|
const LandingPage = () => {
|
||||||
const navigate = useNavigate()
|
const navigate = useNavigate()
|
||||||
|
|
||||||
const getStartedHanlder = () => {
|
const onGetStartedHandler = () => {
|
||||||
navigate('/pair-device')
|
navigate('/pair-device')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ const LandingPage = () => {
|
||||||
</Text>
|
</Text>
|
||||||
</YStack>
|
</YStack>
|
||||||
<XStack>
|
<XStack>
|
||||||
<StatusButton icon={<NodeIcon size={20} />} onPress={getStartedHanlder}>
|
<StatusButton icon={<NodeIcon size={20} />} onPress={onGetStartedHandler}>
|
||||||
Get Started
|
Get Started
|
||||||
</StatusButton>
|
</StatusButton>
|
||||||
</XStack>
|
</XStack>
|
||||||
|
|
Loading…
Reference in New Issue