refactor: use class helper instead of component to handle responsiveness

This commit is contained in:
2024-08-22 18:18:21 +02:00
parent 7996f40d7f
commit 5cdc2495d2
6 changed files with 77 additions and 87 deletions

View File

@@ -5,7 +5,7 @@ export const AppContext = createContext<
| Prettify<
State<"activeKitty", string> &
State<"brightness", number> &
State<"volume", number>
State<"volume", number> & { screenWidth: number }
>
| undefined
>(undefined);