Skip to content

Commit 59e062f

Browse files
authored
Merge pull request #170 from takker99:update-deno-dependency
build(preact): 10.6.4→10.22.1
2 parents 673f9d5 + 00466cd commit 59e062f

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
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 = ({

deps/preact.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ export {
1010
h,
1111
render,
1212
toChildArray,
13-
} from "https://esm.sh/preact@10.6.4";
13+
} from "https://esm.sh/preact@10.22.1";
1414
export type {
1515
ComponentChildren,
1616
FunctionComponent,
17-
} from "https://esm.sh/preact@10.6.4";
18-
export * from "https://esm.sh/preact@10.6.4/hooks";
17+
} from "https://esm.sh/preact@10.22.1";
18+
export * from "https://esm.sh/preact@10.22.1/hooks";

0 commit comments

Comments
 (0)