Do not require images in about.js and share.js (#6622)
They are already required by common.js.
This commit is contained in:
parent
460e380d38
commit
7a6eaad445
@ -1,7 +1,5 @@
|
|||||||
import loadPolyfills from '../mastodon/load_polyfills';
|
import loadPolyfills from '../mastodon/load_polyfills';
|
||||||
|
|
||||||
require.context('../images/', true);
|
|
||||||
|
|
||||||
function loaded() {
|
function loaded() {
|
||||||
const TimelineContainer = require('../mastodon/containers/timeline_container').default;
|
const TimelineContainer = require('../mastodon/containers/timeline_container').default;
|
||||||
const React = require('react');
|
const React = require('react');
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
import loadPolyfills from '../mastodon/load_polyfills';
|
import loadPolyfills from '../mastodon/load_polyfills';
|
||||||
|
|
||||||
require.context('../images/', true);
|
|
||||||
|
|
||||||
function loaded() {
|
function loaded() {
|
||||||
const ComposeContainer = require('../mastodon/containers/compose_container').default;
|
const ComposeContainer = require('../mastodon/containers/compose_container').default;
|
||||||
const React = require('react');
|
const React = require('react');
|
||||||
|
Loading…
Reference in New Issue
Block a user