feat(tasks): trim task name

This commit is contained in:
Elian Doran
2025-02-26 21:25:08 +02:00
parent d0c703515b
commit 2ea85dc238

View File

@@ -9,7 +9,7 @@ interface CreateNewTasksOpts {
export async function createNewTask({ parentNoteId, title }: CreateNewTasksOpts) {
await server.post(`tasks`, {
parentNoteId,
title
title: title.trim()
});
}