From 784de367a1815860f1ce025bb375142e881c4435 Mon Sep 17 00:00:00 2001 From: Oliver Eyton-Williams Date: Fri, 29 Mar 2019 10:19:55 +0100 Subject: [PATCH] fix: remove redundant icon assets and links (#35568) --- client/src/head/favicons.js | 55 ------------------------------------- client/src/head/index.js | 13 ++++----- 2 files changed, 5 insertions(+), 63 deletions(-) delete mode 100644 client/src/head/favicons.js diff --git a/client/src/head/favicons.js b/client/src/head/favicons.js deleted file mode 100644 index 06a3f579d5..0000000000 --- a/client/src/head/favicons.js +++ /dev/null @@ -1,55 +0,0 @@ -import React from 'react'; - -const favicons = [ - , - , - , - , - , - , - , - , - -]; - -export default favicons; diff --git a/client/src/head/index.js b/client/src/head/index.js index fc04efd45e..b8e97e5638 100644 --- a/client/src/head/index.js +++ b/client/src/head/index.js @@ -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;