Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: fetching a list in Store.js of react-todo-list

ykdojoddc11b9a6de7
diff --git a/examples/react-todo-list/src/Store.js b/examples/react-todo-list/src/Store.js
index 2a7e4b12f9d..9ab0c0ed44d 100644
--- a/examples/react-todo-list/src/Store.js
+++ b/examples/react-todo-list/src/Store.js
@@ -99,8 +99,8 @@ export const fetchList = async (list_uuid) => {
try {
let { data, error } = await supabase
.from('lists')
- .eq('uuid', list_uuid)
.select(`*, tasks(*)`)
+ .eq('uuid', list_uuid)
.single()
if (error) {
throw new Error(error)