Commit 8fd395e6 authored by Shehan Liyanage's avatar Shehan Liyanage

Merge branch 'routeFix' into 'develop'

add

See merge request !9
parents 39a8113d 7809c7f1
......@@ -14,8 +14,8 @@ function App() {
<ThemeProvider theme={theme}>
<Box className='App'>
<Routes>
<Route path='/' element={<SignInSide />} />
<Route path='/home' element={<HomePage />} />
<Route path='/' element={<HomePage />} />
<Route path='/SignInSide' element={<SignInSide />} />
<Route path='/videocall' element={<VideoCall />} />
<Route path='/:channel' element={<VideoCall />} />
</Routes>
......
......@@ -190,7 +190,7 @@ export default function HomePage() {
const navigate = useNavigate()
const handleVideoCallClick = () => {
navigate('/videocall')
navigate('/SignInSide')
}
const handleTrainingClick = () => {
......
......@@ -44,7 +44,7 @@ export default function SignInSide() {
// Simulate authentication logic here
// If authentication is successful, navigate to VideoCall page
navigate('/home')
navigate('/videocall')
}
return (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment