link to man pages in bots tab

This commit is contained in:
Elizabeth Hunt 2023-11-20 12:55:30 -07:00 committed by GitHub
parent 10efe53e6d
commit 6ffe0ceb6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
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 } from "react"; import { useEffect, useState } from "react";
import { Link } from "react-router-dom";
Modal.setAppElement("#root"); Modal.setAppElement("#root");
@ -60,6 +61,9 @@ const BotButton = ({ onSave, givenBot }) => {
return ( return (
<div> <div>
<ul>
<li>It is Highly Recommend to peek at <Link to="/man-pages">the man pages</Link>.</li>
</ul>
<button className="button" onClick={() => setOpen(true)}> <button className="button" onClick={() => setOpen(true)}>
{givenBot ? "Update" : "+ Add"} Bot {givenBot ? "Update" : "+ Add"} Bot
</button> </button>