Showing
1 changed file
with
3 additions
and
2 deletions
1 | import React from "react"; | 1 | import React from "react"; |
2 | import OTOChatPresenter from "./OTOChatPresenter"; | 2 | import OTOChatPresenter from "./OTOChatPresenter"; |
3 | +import { withRouter } from "react-router-dom"; | ||
3 | 4 | ||
4 | -export default () => { | 5 | +export default withRouter(({ match, location, history }) => { |
5 | return <OTOChatPresenter />; | 6 | return <OTOChatPresenter />; |
6 | -}; | 7 | +}); | ... | ... |
-
Please register or login to post a comment