rsnext/test/integration/invalid-page-automatic-static-optimization/pages/also-valid.js
Natalie Marleny e68a5a793a fix: Ensure ergonomic handling of non-page in ./pages/ (#7955)
* Update autoExport wording to automatic static optimization

* Add sufficiently informative error message

- Update other Next error message for consistency

* Implement feedback - add missing character

Co-Authored-By: Lukáš Huvar <lukas@huvar.cz>

* Fix TypeScript errors

* Update test from autoExport to automatic static optimization

- Also reflect new wording of error message for readability

* Add test for handle non-page in pages

- When target: severless
2019-07-15 17:16:35 +02:00

7 lines
144 B
JavaScript

import React, { Component } from 'react'
export default class AlsoValid extends Component {
render () {
return <div>Hi there</div>
}
}