Commit 7809c7f1 authored by Shehan Liyanage's avatar Shehan Liyanage

add

parent 39a8113d
...@@ -14,8 +14,8 @@ function App() { ...@@ -14,8 +14,8 @@ function App() {
<ThemeProvider theme={theme}> <ThemeProvider theme={theme}>
<Box className='App'> <Box className='App'>
<Routes> <Routes>
<Route path='/' element={<SignInSide />} /> <Route path='/' element={<HomePage />} />
<Route path='/home' element={<HomePage />} /> <Route path='/SignInSide' element={<SignInSide />} />
<Route path='/videocall' element={<VideoCall />} /> <Route path='/videocall' element={<VideoCall />} />
<Route path='/:channel' element={<VideoCall />} /> <Route path='/:channel' element={<VideoCall />} />
</Routes> </Routes>
......
...@@ -190,7 +190,7 @@ export default function HomePage() { ...@@ -190,7 +190,7 @@ export default function HomePage() {
const navigate = useNavigate() const navigate = useNavigate()
const handleVideoCallClick = () => { const handleVideoCallClick = () => {
navigate('/videocall') navigate('/SignInSide')
} }
const handleTrainingClick = () => { const handleTrainingClick = () => {
......
...@@ -44,7 +44,7 @@ export default function SignInSide() { ...@@ -44,7 +44,7 @@ export default function SignInSide() {
// Simulate authentication logic here // Simulate authentication logic here
// If authentication is successful, navigate to VideoCall page // If authentication is successful, navigate to VideoCall page
navigate('/home') navigate('/videocall')
} }
return ( 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