shish hai 2 meses
pai
achega
30037c33a5
Modificáronse 1 ficheiros con 1 adicións e 9 borrados
  1. 1 9
      ghsApp/src/utils/iconSrc.js

+ 1 - 9
ghsApp/src/utils/iconSrc.js

@@ -5,10 +5,6 @@ const ICON_ALIASES = {
   'add-custom': 'add_custom'
 }
 
-const ICON_BG_MAP = {
-  breakage: '#EAF6F0'
-}
-
 const DEFAULT_ICON_BG = '#EAF2FF'
 
 export function iconSrc(icon) {
@@ -20,11 +16,7 @@ export function iconSrc(icon) {
 }
 
 export function iconBg(icon) {
-  if (!icon) {
-    return DEFAULT_ICON_BG
-  }
-  const name = ICON_ALIASES[icon] || icon
-  return ICON_BG_MAP[name] || DEFAULT_ICON_BG
+  return DEFAULT_ICON_BG
 }
 
 export function iconStyle(size, height) {