mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
update example with correct syntax (#383)
- was using `]` instead of `}`
This commit is contained in:
parent
0f2979b02b
commit
204d335273
|
@ -201,7 +201,7 @@ export default class Error extends React.Component {
|
||||||
this.props.statusCode
|
this.props.statusCode
|
||||||
? `An error ${this.props.statusCode} occurred on server`
|
? `An error ${this.props.statusCode} occurred on server`
|
||||||
: 'An error occurred on client'
|
: 'An error occurred on client'
|
||||||
]</p>
|
}</p>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue