Skip to content

Commit

Permalink
fixed redirect issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Hasala2002 committed Dec 27, 2022
1 parent 29aabca commit 4cacbbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MainApp.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const MainApp = () => {

return (
<div ref={MainContainer} className={styles.MainApp}>
{/* {currentUser.senderName ? null : <Navigate to="/createroom"/>} */}
{currentUser.senderName ? null : <Navigate to="/createroom"/>}
<div className={toggleSideBar ? styles.SideBar : styles.SideBarClosed}>
<SideBar setToggleSideBar={setToggleSideBar} />
</div>
Expand Down

1 comment on commit 4cacbbf

@vercel
Copy link

@vercel vercel bot commented on 4cacbbf Dec 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

arke – ./

arke-hasala2002.vercel.app
arke-git-main-hasala2002.vercel.app
arke.vercel.app
app.arkechat.live

Please sign in to comment.