diff --git a/packages/editor/src/components/document-bar/index.js b/packages/editor/src/components/document-bar/index.js index f5ca65dfe18ed..4967644b10276 100644 --- a/packages/editor/src/components/document-bar/index.js +++ b/packages/editor/src/components/document-bar/index.js @@ -33,7 +33,7 @@ import { getTemplateInfo } from '../../utils/get-template-info'; /** @typedef {import("@wordpress/components").IconType} IconType */ -const MotionButton = motion( Button ); +const MotionButton = motion.create( Button ); /** * This component renders a navigation bar at the top of the editor. It displays the title of the current document,