Skip to content

Commit

Permalink
revert: delete redundant title on buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixNgFender committed Mar 18, 2024
1 parent 486ff89 commit 59945d7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/app/studio/(features)/track-table-columns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ const DeleteButton = ({ track }: { track: ReturnedTrack }) => {
return (
<Dialog>
<DialogTrigger asChild>
<Button title="Delete track" variant="destructive" size="icon">
<Button variant="destructive" size="icon">
<Trash2 className="h-4 w-4" />
<span className="sr-only">Delete track</span>
</Button>
Expand All @@ -470,7 +470,6 @@ const DeleteButton = ({ track }: { track: ReturnedTrack }) => {
</Button>
</DialogClose>
<Button
title="Delete track"
variant="destructive"
disabled={isPending}
onClick={() =>
Expand Down

0 comments on commit 59945d7

Please sign in to comment.