0
0
Fork 0

Require images in common.js (#4232)

This commit is contained in:
Akihiko Odaki 2017-07-17 17:23:28 +09:00 committed by Eugen Rochko
parent a47c2e8890
commit b15f790221
3 changed files with 2 additions and 4 deletions

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;