fix: soo many lint errors

This commit is contained in:
Max Richter
2025-11-03 00:03:27 +01:00
parent c13420c3ab
commit 696082250d
41 changed files with 373 additions and 500 deletions

View File

@@ -1,6 +1,6 @@
import { ComponentChildren } from "preact";
import Search from "@islands/Search.tsx";
import { GenericResource } from "@lib/types.ts";
import { GenericResource } from "@lib/marka/schema.ts";
export type Props = {
children: ComponentChildren;
@@ -21,7 +21,7 @@ export const MainLayout = (
if (hasSearch) {
return (
<Search
q={_url.searchParams.get("q")}
q={_url.searchParams.get("q") || ""}
{...context}
results={searchResults}
/>