Skip to content

Commit

Permalink
Changed documentation reference to ENV to process.env.NODE_ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
Erin Doyle committed Oct 7, 2018
1 parent 73c69e6 commit 58e525f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ rules are turned `off` so you need to turn them on first (by setting them to
import React from 'react';
import ReactDOM from 'react-dom';

if (ENV === 'development') {
if (process.env.NODE_ENV === 'development') {
const a11y = require('react-a11y').default;
a11y(React, ReactDOM, {
rules: {
Expand Down

0 comments on commit 58e525f

Please sign in to comment.