mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
e5002234d0
Fixes #5778 Fixes #3650
13 lines
265 B
JavaScript
13 lines
265 B
JavaScript
import test from '../lib/async-function'
|
|
|
|
function ReadOnlyObjectError () {
|
|
return 'this is just a placeholder component'
|
|
}
|
|
|
|
ReadOnlyObjectError.getInitialProps = async () => {
|
|
const result = await test()
|
|
return {result}
|
|
}
|
|
|
|
export default ReadOnlyObjectError
|