Bots #23
@ -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>
|
||||||
|
@ -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>
|
||||||
).
|
).
|
||||||
|
Loading…
Reference in New Issue
Block a user