fix: lucide react and offline
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
"use client";
|
||||
|
||||
import { useTranslate } from "@/hooks/useTranslate";
|
||||
import { Filter } from "lucide-react";
|
||||
|
||||
|
||||
@@ -35,8 +35,6 @@ export function HeroSection({ series }: HeroSectionProps) {
|
||||
<SeriesCover
|
||||
series={series as KomgaSeries}
|
||||
alt={t("home.hero.coverAlt", { title: series.metadata.title })}
|
||||
quality={25}
|
||||
sizes="(max-width: 640px) 50vw, (max-width: 1024px) 33vw, 16.666vw"
|
||||
showProgressUi={false}
|
||||
/>
|
||||
</div>
|
||||
|
||||
5
src/types/lucide-react.d.ts
vendored
Normal file
5
src/types/lucide-react.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
declare module "lucide-react/dist/esm/icons/funnel" {
|
||||
import { LucideIcon } from "lucide-react";
|
||||
const Filter: LucideIcon;
|
||||
export default Filter;
|
||||
}
|
||||
Reference in New Issue
Block a user