Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-capstone-design1
/
Triz_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
sdy
2020-05-18 11:14:54 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7e370fc4a8f4a9cfa31de0c53189bcae4f959a99
7e370fc4
1 parent
f7719e3b
updatet menuPresenter
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
front/src/Routes/Menu/MenuPresenter.js
front/src/Routes/Menu/MenuPresenter.js
View file @
7e370fc
...
...
@@ -124,14 +124,15 @@ const StyledLink = styled(Link)`
}};
`;
export default ({ logOut }) => {
export default ({ logOut, match, location, history }) => {
console.log(location.pathname);
return (
<MenuBar>
<TitleBox>
<Title>KhuChat</Title>
</TitleBox>
<Router>
<StyledLink to="/
Home
" className="HomeLink">
<StyledLink to="/" className="HomeLink">
<HomeIconBox>
<FontAwesomeIcon icon={faHome} />
</HomeIconBox>
...
...
Please
register
or
login
to post a comment