Commit 30b0e36c authored by Tim Neutkens's avatar Tim Neutkens

Don’t use caps for node_env check

parent fe24333e
......@@ -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`)
}
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment