sdy

updatet menuPresenter

...@@ -124,14 +124,15 @@ const StyledLink = styled(Link)` ...@@ -124,14 +124,15 @@ const StyledLink = styled(Link)`
124 }}; 124 }};
125 `; 125 `;
126 126
127 -export default ({ logOut }) => { 127 +export default ({ logOut, match, location, history }) => {
128 + console.log(location.pathname);
128 return ( 129 return (
129 <MenuBar> 130 <MenuBar>
130 <TitleBox> 131 <TitleBox>
131 <Title>KhuChat</Title> 132 <Title>KhuChat</Title>
132 </TitleBox> 133 </TitleBox>
133 <Router> 134 <Router>
134 - <StyledLink to="/Home" className="HomeLink"> 135 + <StyledLink to="/" className="HomeLink">
135 <HomeIconBox> 136 <HomeIconBox>
136 <FontAwesomeIcon icon={faHome} /> 137 <FontAwesomeIcon icon={faHome} />
137 </HomeIconBox> 138 </HomeIconBox>
......