Sfoglia il codice sorgente

fix non-autofixable biome lint errors

Futa Arai 9 mesi fa
parent
commit
785441e65d
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      packages/ui/src/components/UserPicture.tsx

+ 3 - 0
packages/ui/src/components/UserPicture.tsx

@@ -67,12 +67,15 @@ const UserPictureRootWithLink = forwardRef<
   // Nested anchor tags causes a warning.
   // https://stackoverflow.com/questions/13052598/creating-anchor-tag-inside-anchor-taga
   return (
+    // biome-ignore lint/a11y/useSemanticElements: ignore
     <span
       ref={ref}
       className={props.className}
       onClick={clickHandler}
       onKeyDown={() => {}}
       style={{ cursor: 'pointer' }}
+      role="link"
+      tabIndex={0}
     >
       {props.children}
     </span>