perf: run on nextTick only if necessary

This commit is contained in:
Julien Calixte
2025-07-12 17:39:00 +02:00
parent 1918ebc921
commit b93dfbd824
3 changed files with 14 additions and 16 deletions

View File

@@ -114,8 +114,6 @@ export const useUserRepoStore = defineStore("USER_REPO_STATE", {
return
}
console.log("add file")
const savedRepoId = data.generateId(
DataType.SavedRepo,
`${this.user}-${this.repo}`,