Showing
1 changed file
with
9 additions
and
2 deletions
| ... | @@ -10,7 +10,14 @@ const LOG_OUT = gql` | ... | @@ -10,7 +10,14 @@ const LOG_OUT = gql` |
| 10 | } | 10 | } |
| 11 | `; | 11 | `; |
| 12 | 12 | ||
| 13 | -export default withRouter(() => { | 13 | +export default withRouter(({ match, location, history }) => { |
| 14 | const [logOut] = useMutation(LOG_OUT); | 14 | const [logOut] = useMutation(LOG_OUT); |
| 15 | - return <MenuPresenter logOut={logOut} />; | 15 | + return ( |
| 16 | + <MenuPresenter | ||
| 17 | + logOut={logOut} | ||
| 18 | + match={match} | ||
| 19 | + location={location} | ||
| 20 | + history={history} | ||
| 21 | + /> | ||
| 22 | + ); | ||
| 16 | }); | 23 | }); | ... | ... |
-
Please register or login to post a comment