1
0
Fork 1
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:
Vexify 2024-11-07 02:09:46 +01:00
parent 165353321d
commit b13a5c6d26

View file

@ -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>