From 58e525f8be82c7c24d4bb981817c0213a0fc0726 Mon Sep 17 00:00:00 2001 From: Erin Doyle Date: Sun, 7 Oct 2018 11:18:44 -0400 Subject: [PATCH] Changed documentation reference to ENV to process.env.NODE_ENV --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4c80134..bcc7959 100644 --- a/README.md +++ b/README.md @@ -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: {