rudimentary buttons

This commit is contained in:
2026-06-02 21:02:46 +02:00
parent 1251921ea1
commit 19c2951cc3
6 changed files with 48 additions and 7 deletions
+1
View File
@@ -11,6 +11,7 @@ const PgnViewer = ({ gamePgn, handlePlyChange }: IProps) => {
const containerRef = useRef<HTMLDivElement | null>(null);
const viewerRef = useRef(null);
// TODO make thin, and pull functions out
useEffect(() => {
const element: HTMLElement | null = document.querySelector(".lpv-board");
if (!element) return;