diff --git a/client/src/components/fakestackoverflow.tsx b/client/src/components/fakestackoverflow.tsx index d790729..f348073 100644 --- a/client/src/components/fakestackoverflow.tsx +++ b/client/src/components/fakestackoverflow.tsx @@ -19,6 +19,7 @@ import CommunityInfo from './main/profile/community'; import ChooseTagsPage from './login/newUser/chooseTagsPage/index'; import CommunityHomePage from './main/homePage/community'; import PostLoginCommunity from './login/newUser/chooseCommunityPage'; +import ChatPage from './main/chat'; const ProtectedRoute = ({ user, @@ -64,8 +65,10 @@ const FakeStackOverflow = ({ socket }: { socket: FakeSOSocket | null }) => { }> } /> {/* should become community */} + } /> } /> } /> + } /> } /> } /> } /> diff --git a/client/src/components/header/index.tsx b/client/src/components/header/index.tsx index 851c5ca..54fa983 100644 --- a/client/src/components/header/index.tsx +++ b/client/src/components/header/index.tsx @@ -14,6 +14,10 @@ import logo from '../../logo.svg'; const Header = () => { const { val, handleInputChange, handleKeyDown } = useHeader(); + const handleLogout = () => { + console.log('Logging out'); + }; + return (