diff --git a/src/helpers/shell/PanelButton.ts b/src/helpers/shell/PanelButton.ts index d9db4d8..4d4e967 100644 --- a/src/helpers/shell/PanelButton.ts +++ b/src/helpers/shell/PanelButton.ts @@ -726,6 +726,7 @@ class PanelButton extends PanelMenu.Button { } private removeButtonControlIcon(options: ControlIconOptions) { + // @ts-expect-error typing error const icon = this.buttonControls.get_child_at_index(options.menuProps.index); if (icon != null) {