From 0f9901eee273c0d2e8079ddd425140d2811764dc Mon Sep 17 00:00:00 2001 From: Ben Dwyer Date: Thu, 16 Jun 2022 09:50:24 +0100 Subject: [PATCH] update form.js --- packages/block-library/src/post-comments-form/form.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/block-library/src/post-comments-form/form.js b/packages/block-library/src/post-comments-form/form.js index d9c11d0be80e0..48a38d8e8a562 100644 --- a/packages/block-library/src/post-comments-form/form.js +++ b/packages/block-library/src/post-comments-form/form.js @@ -7,7 +7,7 @@ import classnames from 'classnames'; * WordPress dependencies */ import { __ } from '@wordpress/i18n'; -import { __experimentalElementButtonClassName } from '@wordpress/block-editor'; +import { __experimentalGetElementClassName } from '@wordpress/block-editor'; import { useDisabled, useInstanceId } from '@wordpress/compose'; const CommentsForm = () => { @@ -36,7 +36,7 @@ const CommentsForm = () => { className={ classnames( 'submit', 'wp-block-button__link', - __experimentalElementButtonClassName + __experimentalGetElementClassName( 'button' ) ) } label={ __( 'Post Comment' ) } value={ __( 'Post Comment' ) }