+2
-2
components/post-list-item.tsx
+2
-2
components/post-list-item.tsx
···
1
1
"use client";
2
2
3
3
import { useEffect, useRef, useState } from "preact/hooks";
4
-
import { ComWhtwndBlogEntry } from "npm:@atcute/client/whitewind";
4
+
import { ComWhtwndBlogEntry } from "npm:@atcute/whitewind";
5
5
6
6
import { cx } from "../lib/cx.ts";
7
7
···
12
12
post,
13
13
rkey,
14
14
}: {
15
-
post: ComWhtwndBlogEntry.Record;
15
+
post: ComWhtwndBlogEntry.Main;
16
16
rkey: string;
17
17
}) {
18
18
const [isHovered, setIsHovered] = useState(false);