fix: Add missing commas in various TypeScript files to ensure proper syntax and prevent potential runtime errors.
This commit is contained in:
@@ -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>),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user