fix: Add missing commas in various TypeScript files to ensure proper syntax and prevent potential runtime errors.

This commit is contained in:
2025-07-30 09:29:32 +08:00
parent 035c0602b5
commit 0059c3ba3b
59 changed files with 1154 additions and 173 deletions

View File

@@ -5,12 +5,12 @@ import { persist, PersistOptions } from "zustand/middleware";
export function createPersistStore<T>(
createState: (set: any, get: any) => T,
name: string,
partialize?: (state: T) => Partial<T>
partialize?: (state: T) => Partial<T>,
) {
return create<T>()(
persist(createState, {
name,
partialize,
} as PersistOptions<T>)
} as PersistOptions<T>),
);
}