add tooltip/help icon for bot id

This commit is contained in:
Ed L 2021-09-04 23:34:44 +01:00
parent 4787a2166f
commit 46831314d1

View file

@ -1,5 +1,5 @@
import { Key, Clipboard, Globe, Plus } from "@styled-icons/boxicons-regular";
import { LockAlt } from "@styled-icons/boxicons-solid";
import { LockAlt, HelpCircle } from "@styled-icons/boxicons-solid";
import type { AxiosError } from "axios";
import { observer } from "mobx-react-lite";
import { Bot } from "revolt-api/types/Bots";
@ -175,6 +175,12 @@ function BotCard({ bot, onDelete, onUpdate }: Props) {
</div>
<div className={styles.userid}>
<Tooltip
content={
<Text id="app.settings.pages.bots.unique_id" />
}>
<HelpCircle size={16} />
</Tooltip>
<Tooltip
content={<Text id="app.special.copy" />}>
<a