mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
* Fix page extension in development * Remove un-used file * Fix standard
8 lines
147 B
JavaScript
8 lines
147 B
JavaScript
const Page = ({ pid }) => <div>{`Post - ${pid}`}</div>
|
|
|
|
Page.getInitialProps = ({ query }) => {
|
|
return { pid: query.pid }
|
|
}
|
|
|
|
export default Page
|