mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-29 02:10:59 -05:00
Update: Added User ID to accounts page
This commit is contained in:
parent
9e1a15eb3f
commit
0b5b0360b8
1 changed files with 7 additions and 1 deletions
|
@ -17,6 +17,7 @@ import { useForceUpdate, useSelf } from "../../../context/revoltjs/hooks";
|
||||||
import UserIcon from "../../../components/common/user/UserIcon";
|
import UserIcon from "../../../components/common/user/UserIcon";
|
||||||
import Button from "../../../components/ui/Button";
|
import Button from "../../../components/ui/Button";
|
||||||
import Overline from "../../../components/ui/Overline";
|
import Overline from "../../../components/ui/Overline";
|
||||||
|
import Tooltip from "../../../components/common/Tooltip";
|
||||||
import Tip from "../../../components/ui/Tip";
|
import Tip from "../../../components/ui/Tip";
|
||||||
|
|
||||||
export function Account() {
|
export function Account() {
|
||||||
|
@ -62,7 +63,12 @@ export function Account() {
|
||||||
/>
|
/>
|
||||||
<div className={styles.userDetail}>
|
<div className={styles.userDetail}>
|
||||||
<div className={styles.username}>@{user.username}</div>
|
<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>
|
</div>
|
||||||
<div className={styles.details}>
|
<div className={styles.details}>
|
||||||
|
|
Loading…
Reference in a new issue