mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-04 23:53:23 +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 LandingPage from './components/LandingPage'
|
||||
import DeviceHealthCheck from './pages/DeviceHealthCheck/DeviceHealthCheck'
|
||||
import ContentPage from './components/ConnectionPage'
|
||||
import ConnectDevicePage from './components/ConnectDevicePage'
|
||||
|
||||
const router = createBrowserRouter([
|
||||
{
|
||||
@ -17,8 +17,8 @@ const router = createBrowserRouter([
|
||||
element: <DeviceHealthCheck />,
|
||||
},
|
||||
{
|
||||
path: '/connection-page',
|
||||
element: <ContentPage />,
|
||||
path: '/connect-device',
|
||||
element: <ConnectDevicePage />,
|
||||
},
|
||||
])
|
||||
|
||||
|
@ -11,7 +11,7 @@ import PairIcon from './PairIcon'
|
||||
import CreateIcon from './CreateIcon'
|
||||
import LabelInputField from './LabelInputField'
|
||||
|
||||
function ContentPage() {
|
||||
const ConnectDevicePage = () => {
|
||||
const [autoConnectChecked, setAutoConnectChecked] = 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