mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-10 01:03:36 -05:00
add tooltip/help icon for bot id
This commit is contained in:
parent
4787a2166f
commit
46831314d1
1 changed files with 7 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
import { Key, Clipboard, Globe, Plus } from "@styled-icons/boxicons-regular";
|
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 type { AxiosError } from "axios";
|
||||||
import { observer } from "mobx-react-lite";
|
import { observer } from "mobx-react-lite";
|
||||||
import { Bot } from "revolt-api/types/Bots";
|
import { Bot } from "revolt-api/types/Bots";
|
||||||
|
@ -175,6 +175,12 @@ function BotCard({ bot, onDelete, onUpdate }: Props) {
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className={styles.userid}>
|
<div className={styles.userid}>
|
||||||
|
<Tooltip
|
||||||
|
content={
|
||||||
|
<Text id="app.settings.pages.bots.unique_id" />
|
||||||
|
}>
|
||||||
|
<HelpCircle size={16} />
|
||||||
|
</Tooltip>
|
||||||
<Tooltip
|
<Tooltip
|
||||||
content={<Text id="app.special.copy" />}>
|
content={<Text id="app.special.copy" />}>
|
||||||
<a
|
<a
|
||||||
|
|
Loading…
Reference in a new issue