Update: Added User ID to accounts page

This commit is contained in:
nizune 2021-07-06 13:36:32 +02:00
parent 9e1a15eb3f
commit 0b5b0360b8

View file

@ -17,6 +17,7 @@ import { useForceUpdate, useSelf } from "../../../context/revoltjs/hooks";
import UserIcon from "../../../components/common/user/UserIcon";
import Button from "../../../components/ui/Button";
import Overline from "../../../components/ui/Overline";
import Tooltip from "../../../components/common/Tooltip";
import Tip from "../../../components/ui/Tip";
export function Account() {
@ -62,7 +63,12 @@ export function Account() {
/>
<div className={styles.userDetail}>
<div className={styles.username}>@{user.username}</div>
<div className={styles.userid}><HelpCircle size={16} />{user._id}</div>
<div className={styles.userid}>
<Tooltip content={"This is your unique user identificator"}>
<HelpCircle size={16} />
</Tooltip>
{user._id}
</div>
</div>
</div>
<div className={styles.details}>