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:47 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f7719e3b749820017a5bcc11718012030c8f73ff
f7719e3b
1 parent
76db54f0
update menuContainer
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
front/src/Routes/Menu/MenuContainer.js
front/src/Routes/Menu/MenuContainer.js
View file @
f7719e3
...
...
@@ -10,7 +10,14 @@ const LOG_OUT = gql`
}
`
;
export
default
withRouter
(()
=>
{
export
default
withRouter
((
{
match
,
location
,
history
}
)
=>
{
const
[
logOut
]
=
useMutation
(
LOG_OUT
);
return
<
MenuPresenter
logOut
=
{
logOut
}
/>
;
return
(
<
MenuPresenter
logOut
=
{
logOut
}
match
=
{
match
}
location
=
{
location
}
history
=
{
history
}
/
>
);
});
...
...
Please
register
or
login
to post a comment