From 8702b0eb5e0e8639d9edb59731be7d68bfe34081 Mon Sep 17 00:00:00 2001 From: tobinio Date: Sun, 7 Jun 2026 14:56:46 +0200 Subject: [PATCH] use correct uuid --- app/mutations/todo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/mutations/todo.ts b/app/mutations/todo.ts index 75b8efa..dae1a3a 100644 --- a/app/mutations/todo.ts +++ b/app/mutations/todo.ts @@ -77,7 +77,7 @@ export const useAddTodo = defineMutation({ queryCache.setQueryData(["todos", "active"], [...updatedTodos]); return { - uuid: v4(), + uuid: todo.uuid, position: insertionPoint.value, previousId: lastTodo?.uuid, }; -- 2.51.2