From fc403e6c0f5207c84b65f5902d7729c53ebdbf46 Mon Sep 17 00:00:00 2001 From: Mykola Shlyakhtun Date: Fri, 14 Jun 2024 21:31:15 +0300 Subject: [PATCH] AI: AI fixes buttons in the sidebar go blank after opening and closing the metabox #1621 Revert image. --- .../components/sparkles-icon.js | 9 ++--- .../__snapshots__/SparklesIcon.test.js.snap | 34 +++++++++---------- 2 files changed, 22 insertions(+), 21 deletions(-) diff --git a/packages/js/src/ai-assessment-fixes/components/sparkles-icon.js b/packages/js/src/ai-assessment-fixes/components/sparkles-icon.js index 7213bf3cdb8..99e2045bbea 100644 --- a/packages/js/src/ai-assessment-fixes/components/sparkles-icon.js +++ b/packages/js/src/ai-assessment-fixes/components/sparkles-icon.js @@ -8,15 +8,16 @@ import propTypes from "prop-types"; export const SparklesIcon = ( { pressed = false } ) => { return ( <> - + diff --git a/packages/js/tests/ai-assessment-fixes/components/__snapshots__/SparklesIcon.test.js.snap b/packages/js/tests/ai-assessment-fixes/components/__snapshots__/SparklesIcon.test.js.snap index 4e7f36a3b72..516b221fa17 100644 --- a/packages/js/tests/ai-assessment-fixes/components/__snapshots__/SparklesIcon.test.js.snap +++ b/packages/js/tests/ai-assessment-fixes/components/__snapshots__/SparklesIcon.test.js.snap @@ -4,14 +4,14 @@ exports[`SparklesIcon should render the SparklesIcon component when pressed is f