fixup: minor sync fixup

This commit is contained in:
Yidadaa
2023-09-11 00:34:51 +08:00
parent c73a91a0f5
commit 415e9dc913
4 changed files with 3 additions and 24 deletions

View File

@@ -43,8 +43,6 @@ export const useMaskStore = createPersistStore(
{ ...DEFAULT_MASK_STATE },
(set, get) => ({
...DEFAULT_MASK_STATE,
create(mask?: Partial<Mask>) {
const masks = get().masks;
const id = nanoid();