Skip to content

Commit

Permalink
fix: 🐛NODE_EVN should be NODE_ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
Vince Speelman committed Dec 29, 2018
1 parent f9db5e9 commit 8feead7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addon/jsx.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ exports.addon = function (renderer) {
: fn(copy);
};

if (process.env.NODE_EVN !== 'production') {
if (process.env.NODE_ENV !== 'production') {
if (block) {
Component.displayName = 'jsx(' + block + ')';
}
Expand Down
2 changes: 1 addition & 1 deletion addon/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ exports.addon = function (renderer) {
return jsxComponent(copy);
};

if (process.env.NODE_EVN !== 'production') {
if (process.env.NODE_ENV !== 'production') {
if (block || (typeof fn === 'function')) {
Component.displayName = 'style(' + (block || fn.displayName || fn.name) + ')';
}
Expand Down

0 comments on commit 8feead7

Please sign in to comment.