diff --git a/src/App.tsx b/src/App.tsx index edfe558..8b0ed0d 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -32,7 +32,7 @@ export const App = () => { onMount(() => { if (!selectedEndpoint()) { - navigate('/setup') + navigate(ROUTES.Setup) } }) @@ -56,7 +56,10 @@ export const App = () => { } /> - + diff --git a/src/components/Header.tsx b/src/components/Header.tsx index 9b5078b..2008889 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -119,7 +119,7 @@ export const Header = () => { const onSwitchEndpointClick = () => { setSelectedEndpoint('') - navigate('/setup') + navigate(ROUTES.Setup) } return ( @@ -167,7 +167,7 @@ export const Header = () => { - +