From 675e77c4f6e3a07863054a3fff719a4956bc5fcb Mon Sep 17 00:00:00 2001
From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
Date: Wed, 2 Apr 2025 22:43:23 +1100
Subject: launcher: fix typeerror

---
 src/modules/launcher/actions.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/modules/launcher/actions.tsx')

diff --git a/src/modules/launcher/actions.tsx b/src/modules/launcher/actions.tsx
index 6b5df52..bdc99db 100644
--- a/src/modules/launcher/actions.tsx
+++ b/src/modules/launcher/actions.tsx
@@ -407,7 +407,7 @@ export default class Actions extends Widget.Box implements LauncherContent {
             const list = Object.keys(transparencyActions);
 
             for (const { target } of fuzzysort.go(args[1], list, { all: true }))
-                this.#content.add(<Transparency amount={target} />);
+                this.#content.add(<Transparency amount={target as keyof typeof transparencyActions} />);
         } else {
             const list = this.#list.filter(
                 a => this.#map[a].available?.() ?? !config.disabledActions.get().includes(a)
-- 
cgit v1.2.3-freya

