Skip to content

Commit

Permalink
fix text not linking in media card
Browse files Browse the repository at this point in the history
missing `to` prop
  • Loading branch information
Elevator Dev (ubuntu) committed Jul 7, 2023
1 parent 3ab4104 commit 1cefa4f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/MediaCard/MediaCard.vue
Expand Up @@ -21,6 +21,7 @@

<component
:is="to ? Link : 'div'"
:to="to"
class="flex-1 p-4 media-card__body hover:no-underline"
>
<slot />
Expand Down

0 comments on commit 1cefa4f

Please sign in to comment.