Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page List Block: Remove duplicate useBlockProps hook #42123

Merged
merged 1 commit into from Jul 6, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 3 additions & 5 deletions packages/block-library/src/page-list/edit.js
Expand Up @@ -76,11 +76,9 @@ export default function PageListEdit( { context, clientId } ) {

{ hasResolvedPages && totalPages === null && (
t-hamano marked this conversation as resolved.
Show resolved Hide resolved
<div { ...blockProps }>
<div { ...blockProps }>
<Notice status={ 'warning' } isDismissible={ false }>
{ __( 'Page List: Cannot retrieve Pages.' ) }
</Notice>
</div>
<Notice status={ 'warning' } isDismissible={ false }>
{ __( 'Page List: Cannot retrieve Pages.' ) }
</Notice>
</div>
) }

Expand Down