about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features/compose/components/search.js
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-09-09 15:28:45 +0200
committerThibG <thib@sitedethib.com>2019-09-09 19:00:20 +0200
commitf154d9d6e9ca461cf608674494cb23eee6db6534 (patch)
tree13384a3c89cb9abc9bff0e7019c9c1cbb56f5fd3 /app/javascript/flavours/glitch/features/compose/components/search.js
parentf2b307af25ca53f062f1a9e50dc1724b7550fd71 (diff)
Use upstream's Icon component
Rework the codebase to avoid unnecessary differences with upstream
Diffstat (limited to 'app/javascript/flavours/glitch/features/compose/components/search.js')
-rw-r--r--app/javascript/flavours/glitch/features/compose/components/search.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/flavours/glitch/features/compose/components/search.js b/app/javascript/flavours/glitch/features/compose/components/search.js
index b25555d0f..29d195ecd 100644
--- a/app/javascript/flavours/glitch/features/compose/components/search.js
+++ b/app/javascript/flavours/glitch/features/compose/components/search.js
@@ -153,8 +153,8 @@ class Search extends React.PureComponent {
           role='button'
           tabIndex='0'
         >
-          <Icon icon='search' className={hasValue ? '' : 'active'} />
-          <Icon icon='times-circle' className={hasValue ? 'active' : ''} />
+          <Icon id='search' className={hasValue ? '' : 'active'} />
+          <Icon id='times-circle' className={hasValue ? 'active' : ''} />
         </div>
 
         <Overlay show={expanded && !hasValue} placement='bottom' target={this}>