mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-12-06 14:56:23 +01:00
Migrate to Vite+ unified toolchain (#428)
This commit is contained in:
1 parent
aed7bd12ea
commit
45262edfbd
166 files changed
+1762
-1519
No files matched your search
@@ -88,6 +88,7 @@ export function getAnyModel(
|
||||
): AnyModel | null {
|
||||
let data = mustStore().get(modelStoreDataAtom);
|
||||
for (const t of Object.keys(data)) {
|
||||
// oxlint-disable-next-line no-explicit-any
|
||||
let v = (data as any)[t]?.[id];
|
||||
if (v?.model === t) return v;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user