Skip to content
This repository has been archived by the owner on Sep 11, 2018. It is now read-only.

Commit

Permalink
fix(DevTools): only attempt to open devtools when extension exists
Browse files Browse the repository at this point in the history
  • Loading branch information
David Zukowski committed Apr 21, 2016
1 parent 80b3d35 commit 9e03fbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ if (__DEV__ && module.hot) {

// Use Redux DevTools chrome extension
if (__DEBUG__) {
if (!window.devToolsExtension) window.devToolsExtension.open()
if (window.devToolsExtension) window.devToolsExtension.open()
}

render()

0 comments on commit 9e03fbc

Please sign in to comment.