mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
* Add warning when empty object is returned from getInitialProps * Apply suggestions from code review Co-Authored-By: Joe Haddad <[email protected]> * Apply suggestions from code review Co-Authored-By: Jan Potoms <[email protected]>
6 lines
83 B
JavaScript
6 lines
83 B
JavaScript
const Index = () => 'hi'
|
|
|
|
Index.getInitialProps = () => ({})
|
|
|
|
export default Index
|