about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features/list_adder/components/list.js
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-09-09 16:41:41 +0200
committerThibG <thib@sitedethib.com>2019-09-09 19:00:20 +0200
commit2aa0cdf7e6c44f252ffbcc991a5391c31386058d (patch)
tree13035cecf4def4933ecef3a09bf3a3647f2560fc /app/javascript/flavours/glitch/features/list_adder/components/list.js
parentf154d9d6e9ca461cf608674494cb23eee6db6534 (diff)
Use the `Icon` component instead of directly using `i` tag
Diffstat (limited to 'app/javascript/flavours/glitch/features/list_adder/components/list.js')
-rw-r--r--app/javascript/flavours/glitch/features/list_adder/components/list.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/list_adder/components/list.js b/app/javascript/flavours/glitch/features/list_adder/components/list.js
index cb8eb7d7a..4666ca47b 100644
--- a/app/javascript/flavours/glitch/features/list_adder/components/list.js
+++ b/app/javascript/flavours/glitch/features/list_adder/components/list.js
@@ -6,6 +6,7 @@ import ImmutablePropTypes from 'react-immutable-proptypes';
 import IconButton from '../../../components/icon_button';
 import { defineMessages, injectIntl } from 'react-intl';
 import { removeFromListAdder, addToListAdder } from '../../../actions/lists';
+import Icon from 'flavours/glitch/components/icon';
 
 const messages = defineMessages({
   remove: { id: 'lists.account.remove', defaultMessage: 'Remove from list' },
@@ -53,7 +54,7 @@ class List extends ImmutablePureComponent {
       <div className='list'>
         <div className='list__wrapper'>
           <div className='list__display-name'>
-            <i className='fa fa-fw fa-list-ul column-link__icon' />
+            <Icon id='list-ul' className='column-link__icon' fixedWidth />
             {list.get('title')}
           </div>