Skip to content
This repository was archived by the owner on Jan 19, 2023. It is now read-only.

Commit a4fc8c3

Browse files
committed
Fix demo page display
1 parent 430f352 commit a4fc8c3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/examples/cats/app.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,12 @@ class App extends Component {
9696
this.movePrev = this.movePrev.bind(this);
9797
}
9898

99+
componentDidMount() {
100+
if (window) {
101+
styles._insertCss();
102+
}
103+
}
104+
99105
openLightbox() {
100106
this.setState({ isOpen: true });
101107
}

0 commit comments

Comments
 (0)