From ce20e19379c2c1ffcca9bf182acc721c690fe31b Mon Sep 17 00:00:00 2001 From: Dylan Munson <65001528+CodeyGuyDylan@users.noreply.github.com> Date: Mon, 12 Aug 2024 11:08:19 -0600 Subject: [PATCH] Simplify logic of videopress value section --- .../components/product-cards-section/videopress-card/index.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/projects/packages/my-jetpack/_inc/components/product-cards-section/videopress-card/index.tsx b/projects/packages/my-jetpack/_inc/components/product-cards-section/videopress-card/index.tsx index f0dc24af1064c..c0a6769d49986 100644 --- a/projects/packages/my-jetpack/_inc/components/product-cards-section/videopress-card/index.tsx +++ b/projects/packages/my-jetpack/_inc/components/product-cards-section/videopress-card/index.tsx @@ -25,9 +25,6 @@ const VideopressCard: ProductCardComponent = ( { admin } ) => { const { activeAndNoVideos } = useTooltipCopy(); const videoCount = data?.videoCount || 0; - const isPluginActive = - status === PRODUCT_STATUSES.ACTIVE || status === PRODUCT_STATUSES.CAN_UPGRADE; - const isPluginActive = status === PRODUCT_STATUSES.ACTIVE || status === PRODUCT_STATUSES.CAN_UPGRADE;