parent
851e542b20
commit
2d5c391902
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ import { Logger } from "@utils/Logger";
|
|||
import { findComponentByCodeLazy } from "@webpack";
|
||||
import type { ComponentType, MouseEventHandler, ReactNode } from "react";
|
||||
|
||||
const PanelButton = findComponentByCodeLazy(".NONE,disabled:", ".PANEL_BUTTON") as ComponentType<UserAreaButtonProps>;
|
||||
const PanelButton = findComponentByCodeLazy("tooltipPositionKey", ".greenTooltip") as ComponentType<UserAreaButtonProps>;
|
||||
|
||||
export interface UserAreaButtonProps {
|
||||
icon: ReactNode;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue