rsnext/test/integration/empty-object-getInitialProps/pages/another.js
JJ Kasper 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 <joe.haddad@zeit.co>

* Apply suggestions from code review

Co-Authored-By: Jan Potoms <potoms.jan@gmail.com>
2019-08-22 12:06:30 -05:00

5 lines
89 B
JavaScript

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