Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
fether
Commits
d3b9dbc2
Commit
d3b9dbc2
authored
Jul 03, 2018
by
Amaury Martiny
Browse files
Show debug logs in production too
parent
bb9449cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
packages/fether-react/src/index.js
View file @
d3b9dbc2
...
...
@@ -11,10 +11,8 @@ import App from './App';
import
rootStore
from
'
./stores
'
;
import
'
./index.css
'
;
// Show debug logs in dev environment
if
(
process
.
env
.
NODE_ENV
===
'
development
'
)
{
window
.
localStorage
.
debug
=
'
fether*
'
;
// https://github.com/visionmedia/debug#browser-support
}
// Show debug logs
window
.
localStorage
.
debug
=
'
fether*
'
;
// https://github.com/visionmedia/debug#browser-support
ReactDOM
.
render
(
<
Provider
{...
rootStore
}
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment