mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Don’t use caps for node_env check
This commit is contained in:
parent
fe24333edc
commit
30b0e36c71
|
@ -87,7 +87,7 @@ export class Container extends Component {
|
|||
}
|
||||
|
||||
const warnUrl = execOnce(() => {
|
||||
if (process.env.NODE_ENV !== 'PRODUCTION') {
|
||||
if (process.env.NODE_ENV !== 'production') {
|
||||
warn(`Warning: the 'url' property is deprecated. https://err.sh/next.js/url-deprecated`)
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue