Skip to content

Commit

Permalink
fix button size
Browse files Browse the repository at this point in the history
  • Loading branch information
pasyukevich committed Jun 4, 2024
1 parent 4b14b2d commit ca63fa4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
import React from 'react';
import Button from '@components/Button';
import useLocalize from '@hooks/useLocalize';
import useThemeStyles from '@hooks/useThemeStyles';

function CardSectionDataEmpty() {
const {translate} = useLocalize();
const styles = useThemeStyles();

return (
<Button
text={translate('subscription.cardSection.addCardButton')}
onPress={() => {}} // TODO: update with navigation to "add card" screen (https://github.com/Expensify/App/issues/38621)
style={styles.w100}
success
large
/>
Expand Down
4 changes: 0 additions & 4 deletions src/styles/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2827,10 +2827,6 @@ const styles = (theme: ThemeColors) =>
width: 40,
},

subscriptionCardDetails: {
width: '100%',
},

selectCircle: {
width: variables.componentSizeSmall,
height: variables.componentSizeSmall,
Expand Down

0 comments on commit ca63fa4

Please sign in to comment.