move man page label to Bots route rather than BotButton lol

This commit is contained in:
Elizabeth Hunt 2023-11-20 13:22:33 -07:00
parent 87954f6ddc
commit 7596482be7
Signed by: simponic
GPG Key ID: 52B3774857EB24B1

View File

@ -61,12 +61,6 @@ 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>
@ -185,6 +179,14 @@ export const Bots = () => {
return ( return (
<> <>
<h1>Bots</h1> <h1>Bots</h1>
<div>
<ul>
<li>
It is Highly Recommend to peek at{" "}
<Link to="/man-pages">the man pages</Link>.
</li>
</ul>
</div>
<BotButton onSave={refreshBots} /> <BotButton onSave={refreshBots} />
<div className="key-card-collection"> <div className="key-card-collection">