diff --git a/src/components/LichessButton.tsx b/src/components/LichessButton.tsx index c4cab01..31a1c52 100644 --- a/src/components/LichessButton.tsx +++ b/src/components/LichessButton.tsx @@ -1,12 +1,12 @@ -interface IProps { - onClickHandler: () => void; -} +import { useLichess } from "#/hooks/useLichess.ts"; + +const LichessButton = () => { + const { lichessLogin, lichessLogout } = useLichess(); -const LichessButton = ({ onClickHandler }: IProps) => { return (