Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
修复去重后的返回值
Browse files Browse the repository at this point in the history
htmambo committed Jan 25, 2024
1 parent 082bd7e commit 4cc1309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/store/mask.ts
Original file line number Diff line number Diff line change
@@ -50,7 +50,7 @@ export const useMaskStore = createPersistStore(
if (existingMask.name === mask?.name &&
JSON.stringify(existingMask.context) === JSON.stringify(mask?.context)) {
console.log("A mask with the same name and context already exists.");
return;
return mask;
}
}
const id = nanoid();

0 comments on commit 4cc1309

Please sign in to comment.