homarr-labs / homarr

Avoid using the <img> tag JS-W1015
Anti-pattern
Minor
2 days ago7 months old
Do not use <img> element. Use <Image /> from next/image instead. See: https://nextjs.org/docs/messages/no-img-element
 75              {app.name}
 76            </Text>
 77          )}
 78          <img src={app.iconUrl} alt={app.name} className={combineClasses(classes.appIcon, "app-icon")} /> 79        </Flex>
 80      </Tooltip.Floating>
 81      {options.pingEnabled && app.href ? (
Do not use <img> element. Use <Image /> from next/image instead. See: https://nextjs.org/docs/messages/no-img-element
 65        <InputBase
 66          rightSection={<Combobox.Chevron />}
 67          // eslint-disable-next-line @next/next/no-img-element
 68          leftSection={previewUrl ? <img src={previewUrl} alt="" style={{ width: 20, height: 20 }} /> : null} 69          value={search}
 70          onChange={(event) => {
 71            combobox.openDropdown();
Do not use <img> element. Use <Image /> from next/image instead. See: https://nextjs.org/docs/messages/no-img-element
15  ) : (
16    // we only want to use next/image for logos that we are sure will be preloaded and are allowed
17    // eslint-disable-next-line @next/next/no-img-element
18    <img src={src} alt={alt} width={size} height={size} />19  );
20
21const logoWithTitleSizes = {
Do not use <img> element. Use <Image /> from next/image instead. See: https://nextjs.org/docs/messages/no-img-element
15  ) : (
16    // we only want to use next/image for logos that we are sure will be preloaded and are allowed
17    // eslint-disable-next-line @next/next/no-img-element
18    <img src={src} alt={alt} width={size} height={size} />19  );
20
21const logoWithTitleSizes = {
Do not use <img> element. Use <Image /> from next/image instead. See: https://nextjs.org/docs/messages/no-img-element
15  ) : (
16    // we only want to use next/image for logos that we are sure will be preloaded and are allowed
17    // eslint-disable-next-line @next/next/no-img-element
18    <img src={src} alt={alt} width={size} height={size} />19  );
20
21const logoWithTitleSizes = {