Skip to content

Commit

Permalink
Fix recommendations VideoPress card CTA not showing purchase buttons.
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottprogrammer committed Oct 1, 2024
1 parent c7b6691 commit d070e30
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import './style.scss';

const slug = PRODUCT_SLUGS.VIDEOPRESS;

const VideopressCard: ProductCardComponent = ( { admin } ) => {
const VideopressCard: ProductCardComponent = props => {
const { detail } = useProduct( slug );
const { status } = detail || {};
const { videopress: data } = getMyJetpackWindowInitialState();
Expand Down Expand Up @@ -70,9 +70,9 @@ const VideopressCard: ProductCardComponent = ( { admin } ) => {

return (
<ProductCard
{ ...props }
slug={ slug }
showMenu
admin={ admin }
Description={ Description }
customLoadTracks={ customLoadTracks }
>
Expand Down

0 comments on commit d070e30

Please sign in to comment.