diff --git a/src/Bootstrap.tsx b/src/Bootstrap.tsx index 8416a95..689936a 100644 --- a/src/Bootstrap.tsx +++ b/src/Bootstrap.tsx @@ -1,5 +1,10 @@ import { useEffect, useState } from 'react' -import { BrowserRouter as Router, Routes, Route } from 'react-router-dom' +import { + BrowserRouter as Router, + Routes, + Route, + Navigate, +} from 'react-router-dom' import { v4 as uuid } from 'uuid' import localforage from 'localforage' @@ -119,6 +124,10 @@ function Bootstrap({ path={routes.PRIVATE_ROOM} element={} /> + } + /> ) : ( <>