style: apply prettier formatting to fix format:check

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
TerryM
2026-05-29 12:49:22 +08:00
parent bcd7395e77
commit f73131dc03
6 changed files with 274 additions and 276 deletions

View File

@@ -71,8 +71,9 @@ export function MessageStream({ scope }: MessageStreamProps) {
// When arriving with a `#post-<id>` hash (e.g. from a recommended card),
// scroll to that bubble — loading more pages until it shows up — then give
// it a brief highlight so the user can see where they landed.
const targetPostId =
hash.startsWith("#post-") ? hash.slice("#post-".length) : "";
const targetPostId = hash.startsWith("#post-")
? hash.slice("#post-".length)
: "";
const handledTargetRef = useRef<string>("");
useEffect(() => {