Skip to content

Commit

Permalink
Errors with hearts
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahasvin24 committed Aug 21, 2023
1 parent 4336b38 commit 1ad5b33
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/PetCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const PetCard = ({ type, name, breed, age, gender, description, shelter, image }
</p>
</div>
<div className="absolute bottom-0 right-0 flex space-x-2 p-4">

<Heart isActive={isHeartActive} onClick={handleHeartClick}/>
</div>
</div>
</div>
Expand Down
2 changes: 2 additions & 0 deletions components/react-heart.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// react-hearts.d.ts

declare module 'react-heart' {
import { ReactNode, CSSProperties } from 'react';

Expand Down

0 comments on commit 1ad5b33

Please sign in to comment.