Skip to content

Commit

Permalink
Remove unused classnames, update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
ciampo committed Oct 2, 2024
1 parent 6094ebf commit ff87070
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ function Inserter( { setIsOpened } ) {
</h2>
<Button
size="small"
className="customize-widgets-layout__inserter-panel-header-close-button"
icon={ closeSmall }
onClick={ () => setIsOpened( false ) }
aria-label={ __( 'Close inserter' ) }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ export default function WelcomeGuide( { sidebar } ) {
) }
</p>
<Button
className="customize-widgets-welcome-guide__button"
size="compact"
variant="primary"
onClick={ () =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ export function CustomFieldsConfirmation( { willEnable } ) {
</p>
<Button
__next40pxDefaultSize
className="edit-post-preferences-modal__custom-fields-confirmation-button"
variant="secondary"
isBusy={ isReloading }
accessibleWhenDisabled
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ exports[`EnableCustomFieldsOption renders a checked checkbox and a confirmation
A page reload is required for this change. Make sure your content is saved before reloading.
</p>
<button
class="components-button edit-post-preferences-modal__custom-fields-confirmation-button is-next-40px-default-size is-secondary"
class="components-button is-next-40px-default-size is-secondary"
type="button"
>
Show & Reload Page
Expand Down Expand Up @@ -300,7 +300,7 @@ exports[`EnableCustomFieldsOption renders an unchecked checkbox and a confirmati
A page reload is required for this change. Make sure your content is saved before reloading.
</p>
<button
class="components-button edit-post-preferences-modal__custom-fields-confirmation-button is-next-40px-default-size is-secondary"
class="components-button is-next-40px-default-size is-secondary"
type="button"
>
Hide & Reload Page
Expand Down

0 comments on commit ff87070

Please sign in to comment.