refactor: use class helper instead of component to handle responsiveness

This commit is contained in:
Pihkaal
2024-08-22 18:18:21 +02:00
parent 03d90db620
commit dd6c5faa5a
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);