Update withData.js - support withRouter HOC (#3286)
Add support for using withRouter as HOC with this example. Passing router context manually fixes this, based on, https://github.com/zeit/next.js/issues/2908#issuecomment-338244804
Showing
Please
register
or
sign in
to comment