Merge remote-tracking branch 'origin' into feat-pedidos
This commit is contained in:
@@ -67,10 +67,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
let canAdd = $derived(!isAdding && newTodoText.trim().length > 0);
|
||||
let isLoadingTodos = $derived(todosQuery.isLoading);
|
||||
let todos = $derived(todosQuery.data ?? []);
|
||||
let hasTodos = $derived(todos.length > 0);
|
||||
const canAdd = $derived(!isAdding && newTodoText.trim().length > 0);
|
||||
const isLoadingTodos = $derived(todosQuery.isLoading);
|
||||
const todos = $derived(todosQuery.data ?? []);
|
||||
const hasTodos = $derived(todos.length > 0);
|
||||
</script>
|
||||
|
||||
<div class="p-4">
|
||||
|
||||
Reference in New Issue
Block a user