Skip to content

Commit 338e7af

Browse files
committed
motion() -> motion.create()
1 parent d71f754 commit 338e7af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/editor/src/components/document-bar

packages/editor/src/components/document-bar/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import { getTemplateInfo } from '../../utils/get-template-info';
3333

3434
/** @typedef {import("@wordpress/components").IconType} IconType */
3535

36-
const MotionButton = motion( Button );
36+
const MotionButton = motion.create( Button );
3737

3838
/**
3939
* This component renders a navigation bar at the top of the editor. It displays the title of the current document,

0 commit comments

Comments
 (0)