Skip to content

Commit 07c2a89

Browse files
committed
consistent commit messages
1 parent 31d7efa commit 07c2a89

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib/queries.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ export const useBreakHabit = () => {
292292
owner: account.login,
293293
repo: repo.name,
294294
path: `habits/${habit.name}.json`,
295-
message: `breaking a habit - ${habit.name}`,
295+
message: `break habit - ${habit.name}`,
296296
sha: habit.sha,
297297
})
298298
},
@@ -388,7 +388,7 @@ export const useDeleteTags = () => {
388388
for (const name of tags) {
389389
delete c.tags[name]
390390
}
391-
}, `deleted ${tags.length} tag(s)`),
391+
}, `delete ${tags.length} tag(s)`),
392392
onSettled,
393393
retry: handleError("Failed to delete tags", { maxFailures: 0 }),
394394
})
@@ -399,7 +399,7 @@ export const useNewTag = () => {
399399

400400
return useMutation({
401401
mutationFn: (tag: Tag) =>
402-
mutate((c) => (c.tags[tag.name] = tag), `created tag - ${tag.name}`),
402+
mutate((c) => (c.tags[tag.name] = tag), `create tag - ${tag.name}`),
403403
onSettled,
404404
retry: handleError("Failed to create tag", { maxFailures: 0 }),
405405
})

0 commit comments

Comments
 (0)