Skip to content

Commit

Permalink
Remove extra text
Browse files Browse the repository at this point in the history
  • Loading branch information
cbravobernal committed Sep 4, 2024
1 parent 3a9ef79 commit cc4009d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,6 @@ export function EnableCustomFieldsOption( { label, areCustomFieldsEnabled } ) {
isChecked={ isChecked }
onChange={ setIsChecked }
>
{ isChecked && (
<p className="edit-post-preferences-modal__custom-fields-confirmation-message">
{ __(
'Custom fields connected to block attributes cannot be edited in the block editor while this interface is active.'
) }
</p>
) }
{ isChecked !== areCustomFieldsEnabled && (
<CustomFieldsConfirmation willEnable={ isChecked } />
) }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,6 @@ exports[`EnableCustomFieldsOption renders a checked checkbox and a confirmation
</div>
</div>
</div>
<p
class="edit-post-preferences-modal__custom-fields-confirmation-message"
>
Custom fields connected to block attributes cannot be edited in the block editor while this interface is active.
</p>
<p
class="edit-post-preferences-modal__custom-fields-confirmation-message"
>
Expand Down Expand Up @@ -203,11 +198,6 @@ exports[`EnableCustomFieldsOption renders a checked checkbox when custom fields
</div>
</div>
</div>
<p
class="edit-post-preferences-modal__custom-fields-confirmation-message"
>
Custom fields connected to block attributes cannot be edited in the block editor while this interface is active.
</p>
</div>
</div>
`;
Expand Down

0 comments on commit cc4009d

Please sign in to comment.