link to man pages in bots tab
This commit is contained in:
parent
10efe53e6d
commit
6ffe0ceb6e
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user