T45d Site · Components: comments one short line

This commit is contained in:
ZacharyZhang-NY committed 2026-10-01 08:38:05 -04:00
1 parent 8712fd0389
commit 8d647e632f
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
import { useEffect, useRef } from "react";
import { componentCount } from "./data";
/** The search field; Slash focuses it, Enter takes the first match. */
/** Search: Slash focuses it, Enter opens the first match. */
export function Find({ query, onQuery, onEnter, className }: { query: string; onQuery: (q: string) => void; onEnter: () => void; className: string }) {
const field = useRef<HTMLInputElement>(null);
useEffect(() => {