From 04a75d7167942430c222d878b0dd6d1626bc6a2c Mon Sep 17 00:00:00 2001 From: keisyrzk Date: Tue, 19 Dec 2023 14:36:32 +0100 Subject: [PATCH] lint and prettier --- src/components/SelectionList/BaseListItem.js | 7 +------ src/components/SelectionList/UserListItem.js | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/components/SelectionList/BaseListItem.js b/src/components/SelectionList/BaseListItem.js index aab18468687d..ac679f32d103 100644 --- a/src/components/SelectionList/BaseListItem.js +++ b/src/components/SelectionList/BaseListItem.js @@ -92,12 +92,7 @@ function BaseListItem({ isUserItem || item.isSelected ? styles.sidebarLinkTextBold : null, styles.pre, ]} - alternateTextStyles={[ - styles.optionAlternateText, - styles.textLabelSupporting, - isFocused ? styles.sidebarLinkActiveText : styles.sidebarLinkText, - styles.pre, - ]} + alternateTextStyles={[styles.optionAlternateText, styles.textLabelSupporting, isFocused ? styles.sidebarLinkActiveText : styles.sidebarLinkText, styles.pre]} isDisabled={isDisabled} onSelectRow={onSelectRow} showTooltip={showTooltip} diff --git a/src/components/SelectionList/UserListItem.js b/src/components/SelectionList/UserListItem.js index 1d6e14ced6ac..151ffaa90e94 100644 --- a/src/components/SelectionList/UserListItem.js +++ b/src/components/SelectionList/UserListItem.js @@ -5,8 +5,8 @@ import SubscriptAvatar from '@components/SubscriptAvatar'; import Text from '@components/Text'; import Tooltip from '@components/Tooltip'; import useThemeStyles from '@hooks/useThemeStyles'; -import {userListItemPropTypes} from './selectionListPropTypes'; import useStyleUtils from '@styles/useStyleUtils'; +import {userListItemPropTypes} from './selectionListPropTypes'; function UserListItem({item, textStyles, alternateTextStyles, showTooltip, style}) { const styles = useThemeStyles();