This commit is contained in:
glax 2025-05-08 02:01:06 +02:00
parent 8c0f61fc6a
commit cc14c5adad

View File

@ -43,6 +43,8 @@ export function MangaFromId({mangaId, children} : { mangaId: string, children?:
export function Manga({manga, children, loading} : { manga: IManga | undefined, children?: ReactElement<any, any> | ReactElement<any, any>[] | undefined, loading?: boolean}) { export function Manga({manga, children, loading} : { manga: IManga | undefined, children?: ReactElement<any, any> | ReactElement<any, any>[] | undefined, loading?: boolean}) {
const useManga = manga ?? DefaultManga; const useManga = manga ?? DefaultManga;
loading = loading ?? false; loading = loading ?? false;
console.log(useManga);
console.log(manga);
const apiUri = useContext(ApiUriContext); const apiUri = useContext(ApiUriContext);