From 76a8193b8b8a1bedd57520ff3f8057e8e3557014 Mon Sep 17 00:00:00 2001 From: Luigi Date: Fri, 28 Oct 2022 10:50:37 +0200 Subject: [PATCH] Fix Mini Cart Block global styles #7379 Fix Mini Cart Block global styles --- assets/js/blocks/mini-cart/block.tsx | 7 +------ assets/js/blocks/mini-cart/edit.tsx | 5 +---- assets/js/blocks/mini-cart/index.tsx | 1 - assets/js/blocks/mini-cart/style.scss | 6 ++++-- src/BlockTypes/MiniCart.php | 4 +--- 5 files changed, 7 insertions(+), 16 deletions(-) diff --git a/assets/js/blocks/mini-cart/block.tsx b/assets/js/blocks/mini-cart/block.tsx index 122b1bef62d..544a45039d5 100644 --- a/assets/js/blocks/mini-cart/block.tsx +++ b/assets/js/blocks/mini-cart/block.tsx @@ -205,8 +205,6 @@ const MiniCartBlock = ( attributes: Props ): JSX.Element => { color: style?.color?.text, }; - const typographyProps = useTypographyProps( attributes ); - return ( <>