diff --git a/app/soapbox/features/soapbox_config/components/icon-picker.tsx b/app/soapbox/features/soapbox_config/components/icon-picker.tsx index 7fa060b54..2531eca0a 100644 --- a/app/soapbox/features/soapbox_config/components/icon-picker.tsx +++ b/app/soapbox/features/soapbox_config/components/icon-picker.tsx @@ -3,20 +3,14 @@ import React from 'react'; import IconPickerDropdown from './icon_picker_dropdown'; interface IIconPicker { - label?: React.ReactNode, value: string, onChange: React.ChangeEventHandler, } -const IconPicker: React.FC = ({ onChange, value, label }) => { +const IconPicker: React.FC = ({ value, onChange }) => { return ( -
-
- {label && ()} -
- -
-
+
+
); }; diff --git a/app/soapbox/features/soapbox_config/components/icon_picker_dropdown.js b/app/soapbox/features/soapbox_config/components/icon_picker_dropdown.js index 56258f5ad..8c2bdf473 100644 --- a/app/soapbox/features/soapbox_config/components/icon_picker_dropdown.js +++ b/app/soapbox/features/soapbox_config/components/icon_picker_dropdown.js @@ -215,8 +215,18 @@ class IconPickerDropdown extends React.PureComponent { const forkAwesomeIcons = require('../forkawesome.json'); return ( -
-
+
+
diff --git a/app/soapbox/features/soapbox_config/components/promo-panel-input.tsx b/app/soapbox/features/soapbox_config/components/promo-panel-input.tsx index d48370e7a..3bda1f1d8 100644 --- a/app/soapbox/features/soapbox_config/components/promo-panel-input.tsx +++ b/app/soapbox/features/soapbox_config/components/promo-panel-input.tsx @@ -28,7 +28,7 @@ const PromoPanelInput: StreamfieldComponent = ({ value, onChange }; return ( - +