The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Fix typos
MrDizzystick325a2d84f954
diff --git a/examples/vue3-ts-todo-list/src/components/TodoList.vue b/examples/vue3-ts-todo-list/src/components/TodoList.vueindex e421f52060d..c758ecda69a 100644--- a/examples/vue3-ts-todo-list/src/components/TodoList.vue+++ b/examples/vue3-ts-todo-list/src/components/TodoList.vue@@ -40,7 +40,7 @@ export default defineComponent({const task = ref('')/**- * Wrapper function adding a new todo for additional client side error handling.+ * Wrapper function adding a new todo for additional client-side error handling.*/async function insertTask() {// Guard for short task descriptions which will fail db policy.@@ -54,17 +54,17 @@ export default defineComponent({return}try {- // Try and wrie the data to to the database+ // Try and write the data to the database.const todo = await addTodo({ user_id: userSession.value.user.id, task: task.value })- // If there was no response, dont do anything.+ // If there was no response, don't do anything.if (!todo) {return}- // Otherwise push the response into allTodos.+ // Otherwise, push the response into allTodos.allTodos.value.push(todo)- // Reset inptut feild+ // Reset input field.task.value = ''} catch (err) {console.error('Unknown error when adding todo', err)