File entry icons are decoration and dont need alt's

This commit is contained in:
Dustin Brett
2025-03-23 09:49:49 -07:00
parent 80247e1547
commit 9a584fbce5

View File

@@ -612,12 +612,12 @@ const FileEntry: FC<FileEntryProps> = ({
ref={iconRef}
$eager={loadIconImmediately}
$moving={pasteList[path] === "move"}
alt={name}
alt=""
src={icon}
{...FileEntryIconSize[view]}
/>
<SubIcons
alt={name}
alt=""
icon={icon}
isDesktop={isDesktop}
showShortcutIcon={Boolean(hideShortcutIcon || stats.systemShortcut)}