We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1bea19e commit 7945d91Copy full SHA for 7945d91
src/pages/index.js
@@ -51,7 +51,7 @@ class Index extends Component {
51
}
52
53
logConsole() {
54
- if (this.state.consoleLogged) {
+ if (typeof window === undefined || this.state.consoleLogged) {
55
return;
56
57
0 commit comments