fix(task): replace Date.now with nanoid for unique keys and update task interface
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
export interface Task {
|
||||
id: number;
|
||||
id: string;
|
||||
title: string;
|
||||
completed: boolean;
|
||||
createdAt: string;
|
||||
|
||||
Reference in New Issue
Block a user