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 PairDevice from './pages/PairDevice/PairDevice'
|
||||
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 Dashboard from './pages/Dashboard/Dashboard'
|
||||
import ValidatorManagement from './pages/ValidatorManagement/ValidatorManagement'
|
||||
|
@ -53,7 +53,7 @@ const router = createBrowserRouter([
|
|||
path: '/pair-device',
|
||||
element: <PairDevice />,
|
||||
},
|
||||
{ path: '/create-local-node', element: <CreateLocalNodePage /> },
|
||||
{ path: '/create-local-node', element: <CreateLocalNode /> },
|
||||
{ path: '/validator-onboarding', element: <ValidatorOnboarding /> },
|
||||
{ path: '/dashboard', element: <Dashboard /> },
|
||||
{ path: '/validator-management', element: <ValidatorManagement /> },
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
import type { Meta, StoryObj } from '@storybook/react'
|
||||
|
||||
import CreateLocalNodePage from './CreateLocalNodePage'
|
||||
import CreateLocalNode from './CreateLocalNode'
|
||||
import { withRouter } from 'storybook-addon-react-router-v6'
|
||||
|
||||
const meta = {
|
||||
title: 'Pages/CreateLocalNode',
|
||||
component: CreateLocalNodePage,
|
||||
component: CreateLocalNode,
|
||||
parameters: {
|
||||
layout: 'centered',
|
||||
},
|
||||
tags: ['autodocs'],
|
||||
decorators: [withRouter],
|
||||
} satisfies Meta<typeof CreateLocalNodePage>
|
||||
} satisfies Meta<typeof CreateLocalNode>
|
||||
|
||||
export default 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 { NodeIcon } from '@status-im/icons'
|
||||
import { Label, Separator, XStack, YStack } from 'tamagui'
|
||||
|
||||
import PageWrapperShadow from '../../components/PageWrappers/PageWrapperShadow'
|
||||
import Header from '../../components/General/Header'
|
||||
import Titles from '../../components/General/Titles'
|
||||
import CreateAvatar from '../../components/General/CreateAvatar/CreateAvatar'
|
||||
|
||||
const CreateLocalNodePage = () => {
|
||||
const CreateLocalNode = () => {
|
||||
const [autoConnectChecked, setAutoConnectChecked] = useState(false)
|
||||
|
||||
return (
|
||||
|
@ -46,4 +47,4 @@ const CreateLocalNodePage = () => {
|
|||
)
|
||||
}
|
||||
|
||||
export default CreateLocalNodePage
|
||||
export default CreateLocalNode
|
Loading…
Reference in New Issue