Skip to content

Commit 7a5e4b1

Browse files
committed
motion() -> motion.create()
1 parent 0ae8c13 commit 7a5e4b1

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
@@ -32,7 +32,7 @@ import usePageTypeBadge from '../../utils/pageTypeBadge';
3232

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

35-
const MotionButton = motion( Button );
35+
const MotionButton = motion.create( Button );
3636

3737
/**
3838
* 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)