Skip to content

Commit

Permalink
fix: removed unwanted card changes
Browse files Browse the repository at this point in the history
  • Loading branch information
brianacnguyen committed Jun 12, 2024
1 parent af2a8f5 commit d21b2a0
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions app/component-library/components/Cards/Card/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
// Third party dependencies.
import React from 'react';
import { TouchableOpacity } from 'react-native';
import SliderButton from '../../../../components/UI/SliderButton';
import Text from '../../Texts/Text';

// External dependencies.
import { useStyles } from '../../../hooks';
Expand All @@ -17,10 +15,9 @@ const Card: React.FC<CardProps> = ({ style, children, ...props }) => {
const { styles } = useStyles(styleSheet, { style });

return (
<SliderButton
incompleteText={<Text>Swipe to swap</Text>}
completeText={<Text>Swap completed</Text>}
/>
<TouchableOpacity style={styles.base} {...props}>
{children}
</TouchableOpacity>
);
};

Expand Down

0 comments on commit d21b2a0

Please sign in to comment.