Skip to content

Commit

Permalink
motion() -> motion.create()
Browse files Browse the repository at this point in the history
  • Loading branch information
tyxla committed Dec 6, 2024
1 parent d71f754 commit 338e7af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/editor/src/components/document-bar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 338e7af

Please sign in to comment.