Use gql for "mangas" III - global search

This commit is contained in:
schroda
2023-09-08 00:06:24 +02:00
parent af9d49e5e9
commit 0a73496cba
5 changed files with 138 additions and 27 deletions

View File

@@ -7,10 +7,10 @@
*/
import { useTranslation } from 'react-i18next';
import { IMangaCard } from '@/typings';
import MangaGrid, { IMangaGridProps } from '@/components/MangaGrid';
import { MangaType } from '@/lib/graphql/generated/graphql.ts';
function filterManga(mangas: IMangaCard[]): IMangaCard[] {
function filterManga(mangas: MangaType[]): MangaType[] {
return mangas;
}