Bots #23

Merged
Simponic merged 4 commits from bots into main 2023-05-29 19:28:27 -04:00
2 changed files with 7 additions and 3 deletions
Showing only changes of commit 2fe749a036 - Show all commits

View File

@ -1,6 +1,6 @@
import Modal from "react-modal"; import Modal from "react-modal";
import { useAuthContext } from "../context/auth_context"; import { useAuthContext } from "../context/auth_context";
import { useEffect, useState, useCallback } from "react"; import { useEffect, useState } from "react";
Modal.setAppElement("#root"); Modal.setAppElement("#root");
@ -147,7 +147,7 @@ const BotButton = ({ onSave, givenBot }) => {
}; };
export const BotCard = ({ botStruct, onSave }) => { export const BotCard = ({ botStruct, onSave }) => {
const { name, token } = botStruct; const { name } = botStruct;
return ( return (
<div className="key-card"> <div className="key-card">
<h4>{name}</h4> <h4>{name}</h4>

View File

@ -74,7 +74,11 @@ export const ManPages = () => {
<li> <li>
In the "Previous Games" viewer, use "m" to show the game's move In the "Previous Games" viewer, use "m" to show the game's move
history in UCI notation (which you may convert to PGN{" "} history in UCI notation (which you may convert to PGN{" "}
<a href="https://www.dcode.fr/uci-chess-notation" target="_blank"> <a
href="https://www.dcode.fr/uci-chess-notation"
target="_blank"
rel="noreferrer"
>
here here
</a> </a>
). ).