Skip to content

Commit 1ce5ab7

Browse files
author
Artem Sapegin
committed
Use secondary buttons in the product card
To show both variations, secondary and primary, in the app.
1 parent 262a4ef commit 1ce5ab7

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/components/app/DogCard.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,7 @@ const DogCard = ({ as, dog, ...props }) => (
1616
</Box>
1717
<DogInfo dog={dog} isHeading />
1818
<Box mt="auto">
19-
<Button
20-
as={Link}
21-
variant="primary"
22-
fullWidth
23-
to={`/checkout/${dog.id}`}
24-
>
19+
<Button as={Link} fullWidth to={`/checkout/${dog.id}`}>
2520
Rent {dog.name}
2621
</Button>
2722
</Box>

0 commit comments

Comments
 (0)