Skip to content

Commit

Permalink
Use isSecondary prop for Save button.
Browse files Browse the repository at this point in the history
  • Loading branch information
roundhill committed Nov 2, 2021
1 parent eefd566 commit 5cc245d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,8 @@ function SingleTrackEditor( { track, onChange, onClose, onCancel, guid } ) {
<Spinner />
) : (
<Button
isSecondary
disabled={ ! track.tmpFile }
variant="secondary"
onClick={ () => {
if ( label === '' ) {
track.label = __( 'English', 'jetpack' );
Expand Down

0 comments on commit 5cc245d

Please sign in to comment.