Files
be850d0353 Add warning when empty object is returned from getInitialProps (#8474)
* 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]>
2019-08-22 12:06:30 -05:00

6 lines
83 B
JavaScript

const Index = () => 'hi'
Index.getInitialProps = () => ({})
export default Index