From fc3fa627c1e5d6c612763f1043bbe568ab148d0e Mon Sep 17 00:00:00 2001 From: glax Date: Sun, 20 Oct 2024 20:24:52 +0200 Subject: [PATCH] Add "alt" tags to images Remove unused code --- Website/modules/interfaces/IManga.tsx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Website/modules/interfaces/IManga.tsx b/Website/modules/interfaces/IManga.tsx index c829b0e..7d3ac10 100644 --- a/Website/modules/interfaces/IManga.tsx +++ b/Website/modules/interfaces/IManga.tsx @@ -1,8 +1,7 @@ import IMangaConnector from "./IMangaConnector"; import KeyValuePair from "./KeyValuePair"; import {Manga} from "../Manga"; -import React, {EventHandler, ReactElement} from "react"; -import {Job} from "../Job"; +import React, {ReactElement} from "react"; import Icon from '@mdi/react'; import { mdiTagTextOutline, mdiAccountEdit } from '@mdi/js'; import MarkdownPreview from '@uiw/react-markdown-preview'; @@ -43,7 +42,7 @@ export function ReleaseStatusFromNumber(n: number): string { export function CoverCard(apiUri: string, manga: IManga) : ReactElement { return(
- + Manga Cover

{manga.mangaConnector.name}

@@ -55,16 +54,16 @@ export function CoverCard(apiUri: string, manga: IManga) : ReactElement { export function SearchResult(apiUri: string, manga: IManga, createJob: (internalId: string, type: string) => void) : ReactElement { return(
- + Manga Cover

{manga.mangaConnector.name}

-

{manga.sortName}

+

{manga.sortName}

{manga.authors.map(author =>

{author}

)} {manga.tags.map(tag =>

{tag}

)}
-