M: Small fixes

This commit is contained in:
Ivan 2025-03-20 15:35:01 +03:00
parent e63aedbe34
commit 61108809bf
2 changed files with 1 additions and 2 deletions

View File

@ -15,7 +15,7 @@ export function NavigationButton({ icon, title, hideTitle, className, style, onC
return ( return (
<button <button
type='button' type='button'
tabIndex={1} tabIndex={0}
aria-label={title} aria-label={title}
data-tooltip-id={!!title ? globalIDs.tooltip : undefined} data-tooltip-id={!!title ? globalIDs.tooltip : undefined}
data-tooltip-hidden={hideTitle} data-tooltip-hidden={hideTitle}

View File

@ -41,7 +41,6 @@ export function ValueIcon({
onClick, onClick,
...restProps ...restProps
}: ValueIconProps) { }: ValueIconProps) {
// TODO: do not add button if onClick is disabled
return ( return (
<div <div
className={clsx( className={clsx(