Created
January 25, 2019 19:47
-
-
Save aswinzz/d936f9cfd9bfe0d41d73f1db8ae95099 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {withRouter} from 'next/router' | |
import withData from '../config'; | |
const Order = withRouter((props) => ( | |
<div> | |
.......... | |
{props.router.query.id} | |
........... | |
</div> | |
)) | |
export default withData(Order); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment