Fix wrong env key in build time configuration docs (#6561)

Env-Key definition should be constantly either `customEnv` or `customKey` - I went for `customKey`.
This commit is contained in:
Roman Ernst 2019-03-07 12:51:08 +01:00 committed by Tim Neutkens
parent 1e8017989d
commit cf0552a395

View file

@ -1693,7 +1693,7 @@ This will allow you to use `process.env.customKey` in your code. For example:
```jsx
// pages/index.js
function Index() {
return <h1>The value of customEnv is: {process.env.customEnv}</h1>
return <h1>The value of customKey is: {process.env.customKey}</h1>
}
export default Index