fix name of create local node
This commit is contained in:
parent
218345b10b
commit
bbf62ce59d
|
@ -13,7 +13,7 @@ import { RootState } from './redux/store'
|
||||||
import DeviceSyncStatus from './pages/DeviceSyncStatus/DeviceSyncStatus'
|
import DeviceSyncStatus from './pages/DeviceSyncStatus/DeviceSyncStatus'
|
||||||
import PairDevice from './pages/PairDevice/PairDevice'
|
import PairDevice from './pages/PairDevice/PairDevice'
|
||||||
import PinnedNotification from './components/General/PinnedNottification'
|
import PinnedNotification from './components/General/PinnedNottification'
|
||||||
import CreateLocalNodePage from './pages/CreateLocalNodePage/CreateLocalNodePage'
|
import CreateLocalNode from './pages/CreateLocalNode/CreateLocalNode'
|
||||||
import ValidatorOnboarding from './pages/ValidatorOnboarding/ValidatorOnboarding'
|
import ValidatorOnboarding from './pages/ValidatorOnboarding/ValidatorOnboarding'
|
||||||
import Dashboard from './pages/Dashboard/Dashboard'
|
import Dashboard from './pages/Dashboard/Dashboard'
|
||||||
import ValidatorManagement from './pages/ValidatorManagement/ValidatorManagement'
|
import ValidatorManagement from './pages/ValidatorManagement/ValidatorManagement'
|
||||||
|
@ -53,7 +53,7 @@ const router = createBrowserRouter([
|
||||||
path: '/pair-device',
|
path: '/pair-device',
|
||||||
element: <PairDevice />,
|
element: <PairDevice />,
|
||||||
},
|
},
|
||||||
{ path: '/create-local-node', element: <CreateLocalNodePage /> },
|
{ path: '/create-local-node', element: <CreateLocalNode /> },
|
||||||
{ path: '/validator-onboarding', element: <ValidatorOnboarding /> },
|
{ path: '/validator-onboarding', element: <ValidatorOnboarding /> },
|
||||||
{ path: '/dashboard', element: <Dashboard /> },
|
{ path: '/dashboard', element: <Dashboard /> },
|
||||||
{ path: '/validator-management', element: <ValidatorManagement /> },
|
{ path: '/validator-management', element: <ValidatorManagement /> },
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
import type { Meta, StoryObj } from '@storybook/react'
|
import type { Meta, StoryObj } from '@storybook/react'
|
||||||
|
|
||||||
import CreateLocalNodePage from './CreateLocalNodePage'
|
import CreateLocalNode from './CreateLocalNode'
|
||||||
import { withRouter } from 'storybook-addon-react-router-v6'
|
import { withRouter } from 'storybook-addon-react-router-v6'
|
||||||
|
|
||||||
const meta = {
|
const meta = {
|
||||||
title: 'Pages/CreateLocalNode',
|
title: 'Pages/CreateLocalNode',
|
||||||
component: CreateLocalNodePage,
|
component: CreateLocalNode,
|
||||||
parameters: {
|
parameters: {
|
||||||
layout: 'centered',
|
layout: 'centered',
|
||||||
},
|
},
|
||||||
tags: ['autodocs'],
|
tags: ['autodocs'],
|
||||||
decorators: [withRouter],
|
decorators: [withRouter],
|
||||||
} satisfies Meta<typeof CreateLocalNodePage>
|
} satisfies Meta<typeof CreateLocalNode>
|
||||||
|
|
||||||
export default meta
|
export default meta
|
||||||
type Story = StoryObj<typeof meta>
|
type Story = StoryObj<typeof meta>
|
|
@ -2,12 +2,13 @@ import { useState } from 'react'
|
||||||
import { Button as StatusButton, Text, Checkbox } from '@status-im/components'
|
import { Button as StatusButton, Text, Checkbox } from '@status-im/components'
|
||||||
import { NodeIcon } from '@status-im/icons'
|
import { NodeIcon } from '@status-im/icons'
|
||||||
import { Label, Separator, XStack, YStack } from 'tamagui'
|
import { Label, Separator, XStack, YStack } from 'tamagui'
|
||||||
|
|
||||||
import PageWrapperShadow from '../../components/PageWrappers/PageWrapperShadow'
|
import PageWrapperShadow from '../../components/PageWrappers/PageWrapperShadow'
|
||||||
import Header from '../../components/General/Header'
|
import Header from '../../components/General/Header'
|
||||||
import Titles from '../../components/General/Titles'
|
import Titles from '../../components/General/Titles'
|
||||||
import CreateAvatar from '../../components/General/CreateAvatar/CreateAvatar'
|
import CreateAvatar from '../../components/General/CreateAvatar/CreateAvatar'
|
||||||
|
|
||||||
const CreateLocalNodePage = () => {
|
const CreateLocalNode = () => {
|
||||||
const [autoConnectChecked, setAutoConnectChecked] = useState(false)
|
const [autoConnectChecked, setAutoConnectChecked] = useState(false)
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
@ -46,4 +47,4 @@ const CreateLocalNodePage = () => {
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
export default CreateLocalNodePage
|
export default CreateLocalNode
|
Loading…
Reference in New Issue