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:
parent
1e8017989d
commit
cf0552a395
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue