refactor: update file handling and improve component structure

- fix api client
- make controlbar look better
- fix api client again
This commit is contained in:
grngxd 2025-06-10 00:10:59 +01:00
parent 50b1bc2b24
commit 98a582c8d4
10 changed files with 62 additions and 31 deletions

View file

@ -10,7 +10,7 @@ import {
} from "@builder.io/qwik";
import { Atom, WritableAtom } from "nanostores";
function writeable<T = any>(store: Atom<T> | WritableAtom<T>): store is WritableAtom<T> {
function writeable<T>(store: Atom<T> | WritableAtom<T>): store is WritableAtom<T> {
return typeof (store as WritableAtom<T>).set === 'function';
}