diff --git a/app/soapbox/components/list.tsx b/app/soapbox/components/list.tsx index b48b24a87..ee04b2d92 100644 --- a/app/soapbox/components/list.tsx +++ b/app/soapbox/components/list.tsx @@ -4,8 +4,7 @@ import { v4 as uuidv4 } from 'uuid'; import { SelectDropdown } from '../features/forms'; -import Icon from './icon'; -import { HStack, Select } from './ui'; +import { Icon, HStack, Select } from './ui'; interface IList { children: React.ReactNode @@ -58,13 +57,13 @@ const ListItem: React.FC = ({ label, hint, children, onClick, onSelec return (
- {label} + {label} {hint ? ( {hint} @@ -83,12 +82,26 @@ const ListItem: React.FC = ({ label, hint, children, onClick, onSelec
{children} - {isSelected ? ( +
- ) : null} +
) : null}