diff --git a/src/OnboardingSPA/components/CheckboxTemplate/CheckboxListSkeleton/index.js b/src/OnboardingSPA/components/CheckboxTemplate/CheckboxListSkeleton/index.js index 37b9255fc..54e7b0aae 100644 --- a/src/OnboardingSPA/components/CheckboxTemplate/CheckboxListSkeleton/index.js +++ b/src/OnboardingSPA/components/CheckboxTemplate/CheckboxListSkeleton/index.js @@ -1,3 +1,4 @@ +import { memo } from '@wordpress/element'; /** * Checkbox List Skeleton Component @@ -35,4 +36,4 @@ const CheckboxListSkeleton = ({ count }) => { ); }; -export default CheckboxListSkeleton; +export default memo(CheckboxListSkeleton); diff --git a/src/OnboardingSPA/components/LivePreview/BlockPreview/index.js b/src/OnboardingSPA/components/LivePreview/BlockPreview/index.js index 6ae00f11d..f17fa5640 100644 --- a/src/OnboardingSPA/components/LivePreview/BlockPreview/index.js +++ b/src/OnboardingSPA/components/LivePreview/BlockPreview/index.js @@ -88,8 +88,6 @@ const BlockPreview = ( { ); }); - console.count('Rendered'); - return (