mirror of
https://github.com/TheRealOwenRees/chess-scribe-website.git
synced 2026-07-23 01:46:57 +00:00
update pgnviewer on lichess chapter load
This commit is contained in:
@@ -2,7 +2,6 @@ import { useNavigate } from "@tanstack/react-router";
|
||||
import { useServerFn } from "@tanstack/react-start";
|
||||
import { useEffect, useState } from "react";
|
||||
import { useLichessUser } from "#/context/LichessUserContext.tsx";
|
||||
import { useChessGame } from "#/hooks/useChessGame.ts";
|
||||
import {
|
||||
getSession,
|
||||
getStudyChapters,
|
||||
@@ -138,7 +137,6 @@ export const useLichess = () => {
|
||||
author: "",
|
||||
};
|
||||
|
||||
console.log(headers, pgn);
|
||||
return { headers, pgn };
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user