fix: remove redundant icon assets and links (#35568)

This commit is contained in:
Oliver Eyton-Williams
2019-03-29 10:19:55 +01:00
committed by mrugesh mohapatra
parent 1d2baeabdc
commit 784de367a1
2 changed files with 5 additions and 63 deletions

View File

@@ -1,14 +1,11 @@
import favicons from './favicons';
import meta from './meta';
import mathjax from './mathjax';
import scripts from './scripts';
const metaAndStyleSheets = meta
.concat(favicons, mathjax, scripts)
.map((element, i) => ({
...element,
key: `meta-stylesheet-${i}`,
props: { ...element.props, key: `meta-stylesheet-${i}` }
}));
const metaAndStyleSheets = meta.concat(mathjax, scripts).map((element, i) => ({
...element,
key: `meta-stylesheet-${i}`,
props: { ...element.props, key: `meta-stylesheet-${i}` }
}));
export default metaAndStyleSheets;