mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-10 09:56:24 +00:00
Update index.tsx
This commit is contained in:
parent
165353321d
commit
b13a5c6d26
1 changed files with 3 additions and 0 deletions
|
@ -14,6 +14,7 @@
|
||||||
import { NavContextMenuPatchCallback } from "@api/ContextMenu";
|
import { NavContextMenuPatchCallback } from "@api/ContextMenu";
|
||||||
import { definePluginSettings } from "@api/Settings";
|
import { definePluginSettings } from "@api/Settings";
|
||||||
import ErrorBoundary from "@components/ErrorBoundary";
|
import ErrorBoundary from "@components/ErrorBoundary";
|
||||||
|
import { LogIcon } from "@components/Icons";
|
||||||
import { Devs } from "@utils/constants";
|
import { Devs } from "@utils/constants";
|
||||||
import { classes } from "@utils/misc";
|
import { classes } from "@utils/misc";
|
||||||
import definePlugin, { OptionType } from "@utils/types";
|
import definePlugin, { OptionType } from "@utils/types";
|
||||||
|
@ -72,6 +73,7 @@ const userContextPatch: NavContextMenuPatchCallback = (children, { user }: { use
|
||||||
|
|
||||||
children.push(
|
children.push(
|
||||||
<Menu.MenuItem
|
<Menu.MenuItem
|
||||||
|
icon={LogIcon}
|
||||||
label={lbl}
|
label={lbl}
|
||||||
id="vc-hu"
|
id="vc-hu"
|
||||||
action={action}
|
action={action}
|
||||||
|
@ -215,6 +217,7 @@ export default definePlugin({
|
||||||
className={classes(RoleButtonClasses.button, RoleButtonClasses.icon, RoleButtonClasses.banner)}
|
className={classes(RoleButtonClasses.button, RoleButtonClasses.icon, RoleButtonClasses.banner)}
|
||||||
innerClassName={classes(RoleButtonClasses.buttonInner, RoleButtonClasses.icon, RoleButtonClasses.banner)}
|
innerClassName={classes(RoleButtonClasses.buttonInner, RoleButtonClasses.icon, RoleButtonClasses.banner)}
|
||||||
>
|
>
|
||||||
|
<LogIcon height={16} width={16} />
|
||||||
{lbl} {/* Display the label */}
|
{lbl} {/* Display the label */}
|
||||||
</Button>
|
</Button>
|
||||||
</TooltipContainer>
|
</TooltipContainer>
|
||||||
|
|
Loading…
Reference in a new issue