Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
inetol committed Feb 12, 2025
1 parent a02616e commit 6bcf669
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/src/components/FooterButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ type FooterButtonProps = {

export default function FooterButton(props: FooterButtonProps) {
return (
<div class='sm:tooltip tooltip-top' data-tip={!props.isDisabled ? props.label : `${props.label} (Disabled)`}>
<div class='sm:tooltip tooltip-top' data-tip={props.isDisabled ? `${props.label} (Disabled)` : props.label}>
<button
disabled={props.isDisabled}
type='button'
aria-label={props.label}
class='btn btn-square btn-sm'
onClick={props.onClick}
disabled={props.isDisabled ?? false}
>
{props.icon}
</button>
Expand Down

0 comments on commit 6bcf669

Please # to comment.