Skip to content

Commit 58e525f

Browse files
author
Erin Doyle
committed
Changed documentation reference to ENV to process.env.NODE_ENV
1 parent 73c69e6 commit 58e525f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ rules are turned `off` so you need to turn them on first (by setting them to
2727
import React from 'react';
2828
import ReactDOM from 'react-dom';
2929

30-
if (ENV === 'development') {
30+
if (process.env.NODE_ENV === 'development') {
3131
const a11y = require('react-a11y').default;
3232
a11y(React, ReactDOM, {
3333
rules: {

0 commit comments

Comments
 (0)