diff --git a/src/lib/importIcons.js b/src/lib/importIcons.js index ebbd4730b..4f9213672 100644 --- a/src/lib/importIcons.js +++ b/src/lib/importIcons.js @@ -6,10 +6,9 @@ const importIcons = function() { // add needed cozy-ui icon names here - const names = ['bottom', 'cross', 'top'] - names.map(n => { - require('cozy-ui/assets/icons/ui/' + n + '.svg') - }) + require('cozy-ui/assets/icons/ui/bottom.svg') + require('cozy-ui/assets/icons/ui/cross.svg') + require('cozy-ui/assets/icons/ui/top.svg') } importIcons()