Skip to content

Commit 00466cd

Browse files
committed
fix(preact): Remove unused props so type conflictions are resolved
1 parent e625396 commit 00466cd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CardList.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { LinkTo } from "./types.ts";
1111
import { ID, toId } from "./id.ts";
1212
import { BubbleOperators, Source } from "./useBubbles.ts";
1313

14-
export interface CardListProps extends h.JSX.HTMLAttributes<HTMLUListElement> {
14+
export interface CardListProps {
1515
delay: number;
1616
prefetch: (project: string, title: string) => void;
1717
/** key ページカードのID, value: 逆リンク先 */
@@ -21,6 +21,7 @@ export interface CardListProps extends h.JSX.HTMLAttributes<HTMLUListElement> {
2121
bubble: BubbleOperators["bubble"];
2222
source: Pick<Source, "project" | "title" | "position">;
2323
projectsForSort: Set<string>;
24+
onClick?: h.JSX.MouseEventHandler<HTMLUListElement>;
2425
}
2526

2627
export const CardList = ({

0 commit comments

Comments
 (0)