Require images in common.js (#4232)

This commit is contained in:
Akihiko Odaki authored and Eugen Rochko committed 2017-07-17 10:23:28 +02:00
1 parent a47c2e8890
commit b15f790221
3 files changed
+2 -4

No files matched your search

-2
View File
@@ -8,8 +8,6 @@ function main() {
const React = require('react');
const ReactDOM = require('react-dom');
require.context('../images/', true);
if (window.history && history.replaceState) {
const { pathname, search, hash } = window.location;
const path = pathname + search + hash;