fix: remove redundant icon assets and links (#35568)
This commit is contained in:
committed by
mrugesh mohapatra
parent
1d2baeabdc
commit
784de367a1
@@ -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;
|
||||
|
Reference in New Issue
Block a user