fix frontend warnings

This commit is contained in:
Elizabeth Hunt 2023-05-29 15:02:56 -07:00
parent 6bc70b96f3
commit 2fe749a036
Signed by: simponic
GPG Key ID: 52B3774857EB24B1
2 changed files with 7 additions and 3 deletions

View File

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

View File

@ -74,7 +74,11 @@ export const ManPages = () => {
<li>
In the "Previous Games" viewer, use "m" to show the game's move
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
</a>
).