From 7072f83b40abd69de18903202643cf75178c99e8 Mon Sep 17 00:00:00 2001 From: Ivan Date: Wed, 2 Oct 2024 22:54:24 +0100 Subject: [PATCH] fixed bugs --- src/Root.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Root.tsx b/src/Root.tsx index c6b338964a..e5397e542a 100644 --- a/src/Root.tsx +++ b/src/Root.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { Route, HashRouter as Router, Routes } from 'react-router-dom'; +import { HashRouter as Router, Routes, Route, Navigate } from 'react-router-dom'; import { App } from './App'; import { HomePage } from './pages/HomePage'; import { PhonePage } from './pages/PhonePage'; @@ -15,6 +15,7 @@ export const Root = () => ( }> } /> + } /> } /> } /> } />