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 { definePluginSettings } from "@api/Settings";
|
||||
import ErrorBoundary from "@components/ErrorBoundary";
|
||||
import { LogIcon } from "@components/Icons";
|
||||
import { Devs } from "@utils/constants";
|
||||
import { classes } from "@utils/misc";
|
||||
import definePlugin, { OptionType } from "@utils/types";
|
||||
|
@ -72,6 +73,7 @@ const userContextPatch: NavContextMenuPatchCallback = (children, { user }: { use
|
|||
|
||||
children.push(
|
||||
<Menu.MenuItem
|
||||
icon={LogIcon}
|
||||
label={lbl}
|
||||
id="vc-hu"
|
||||
action={action}
|
||||
|
@ -215,6 +217,7 @@ export default definePlugin({
|
|||
className={classes(RoleButtonClasses.button, RoleButtonClasses.icon, RoleButtonClasses.banner)}
|
||||
innerClassName={classes(RoleButtonClasses.buttonInner, RoleButtonClasses.icon, RoleButtonClasses.banner)}
|
||||
>
|
||||
<LogIcon height={16} width={16} />
|
||||
{lbl} {/* Display the label */}
|
||||
</Button>
|
||||
</TooltipContainer>
|
||||
|
|
Loading…
Reference in a new issue