Open alvarouribe opened 6 months ago
There is a problem creating a new todo item if the user removed all todo items and then tries to add a new one. This is because the getNextId function doesn't have a fallback when the array is empty.
There is a problem creating a new todo item if the user removed all todo items and then tries to add a new one. This is because the getNextId function doesn't have a fallback when the array is empty.