diff --git a/src/pages/workspace/expensifyCard/WorkspaceCardListRow.tsx b/src/pages/workspace/expensifyCard/WorkspaceCardListRow.tsx index 92d814604e57..009b289c9bb4 100644 --- a/src/pages/workspace/expensifyCard/WorkspaceCardListRow.tsx +++ b/src/pages/workspace/expensifyCard/WorkspaceCardListRow.tsx @@ -1,6 +1,5 @@ import React, {useMemo} from 'react'; import {View} from 'react-native'; -import type {StyleProp, ViewStyle} from 'react-native'; import Avatar from '@components/Avatar'; import Badge from '@components/Badge'; import Text from '@components/Text'; @@ -13,9 +12,6 @@ import CONST from '@src/CONST'; import type {PersonalDetails} from '@src/types/onyx'; type WorkspacesListRowProps = { - /** Additional styles applied to the row */ - style: StyleProp; - /** The last four digits of the card */ lastFourPAN: string; @@ -32,14 +28,14 @@ type WorkspacesListRowProps = { currency: string; }; -function WorkspaceCardListRow({style, limit, cardholder, lastFourPAN, name, currency}: WorkspacesListRowProps) { +function WorkspaceCardListRow({limit, cardholder, lastFourPAN, name, currency}: WorkspacesListRowProps) { const {shouldUseNarrowLayout} = useResponsiveLayout(); const styles = useThemeStyles(); const cardholderName = useMemo(() => PersonalDetailsUtils.getDisplayNameOrDefault(cardholder), [cardholder]); return ( - + - {}} // TODO: add navigation action when card details screen is implemented (https://github.com/Expensify/App/issues/44325) > - {({hovered}) => ( - - )} - + + );