mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-10 18:36:50 +00:00
fix: rename content page component and file
This commit is contained in:
parent
91e7afd2a7
commit
3bff285135
@ -5,7 +5,7 @@ import './App.css'
|
|||||||
import config from '../tamagui.config'
|
import config from '../tamagui.config'
|
||||||
import LandingPage from './components/LandingPage'
|
import LandingPage from './components/LandingPage'
|
||||||
import DeviceHealthCheck from './pages/DeviceHealthCheck/DeviceHealthCheck'
|
import DeviceHealthCheck from './pages/DeviceHealthCheck/DeviceHealthCheck'
|
||||||
import ContentPage from './components/ConnectionPage'
|
import ConnectDevicePage from './components/ConnectDevicePage'
|
||||||
|
|
||||||
const router = createBrowserRouter([
|
const router = createBrowserRouter([
|
||||||
{
|
{
|
||||||
@ -17,8 +17,8 @@ const router = createBrowserRouter([
|
|||||||
element: <DeviceHealthCheck />,
|
element: <DeviceHealthCheck />,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/connection-page',
|
path: '/connect-device',
|
||||||
element: <ContentPage />,
|
element: <ConnectDevicePage />,
|
||||||
},
|
},
|
||||||
])
|
])
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ import PairIcon from './PairIcon'
|
|||||||
import CreateIcon from './CreateIcon'
|
import CreateIcon from './CreateIcon'
|
||||||
import LabelInputField from './LabelInputField'
|
import LabelInputField from './LabelInputField'
|
||||||
|
|
||||||
function ContentPage() {
|
const ConnectDevicePage = () => {
|
||||||
const [autoConnectChecked, setAutoConnectChecked] = useState(false)
|
const [autoConnectChecked, setAutoConnectChecked] = useState(false)
|
||||||
const [portChecked, setPortChecked] = useState(false)
|
const [portChecked, setPortChecked] = useState(false)
|
||||||
|
|
||||||
@ -111,4 +111,4 @@ function ContentPage() {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
export default ContentPage
|
export default ConnectDevicePage
|
Loading…
x
Reference in New Issue
Block a user