diff --git a/README.md b/README.md index 2c265bb57ce..d7f54f53d50 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ Our client library is modular. Each sub-library is a standalone implementation f |-----------------------|--------------------------------------------------|------------------| | **`supabase-{lang}`** | [`JS`](https://github.com/supabase/supabase-js) | [`C#`](https://github.com/supabase/supabase-csharp) \| `Dart` \| [`Python`](https://github.com/supabase/supabase-py) \| `Rust` | | `postgrest-{lang}` | [`JS`](https://github.com/supabase/postgrest-js) | [`C#`](https://github.com/supabase/postgrest-csharp) \| [`Dart`](https://github.com/supabase/postgrest-dart) \| [`Python`](https://github.com/supabase/postgrest-py) \| [`Rust`](https://github.com/supabase/postgrest-rs) | -| `realtime-{lang}` | [`JS`](https://github.com/supabase/realtime-js) | `C#` \| [`Dart`](https://github.com/supabase/realtime-dart) \| `Python` \| `Rust` | +| `realtime-{lang}` | [`JS`](https://github.com/supabase/realtime-js) | `C#` \| [`Dart`](https://github.com/supabase/realtime-dart) \| [`Python`](https://github.com/supabase/realtime-py) \| `Rust` | | `gotrue-{lang}` | [`JS`](https://github.com/supabase/gotrue-js) | `C#` \| `Dart` \| `Python` \| `Rust` | diff --git a/examples/react-todo-list/src/Store.js b/examples/react-todo-list/src/Store.js index 2a7e4b12f9d..890856a9c3a 100644 --- a/examples/react-todo-list/src/Store.js +++ b/examples/react-todo-list/src/Store.js @@ -73,7 +73,7 @@ export const addTask = async (task_text, list_id) => { export const updateTask = async (task_id, values) => { try { - let { data, error } = await supabase.from('tasks').eq('id', task_id).update(values) + let { data, error } = await supabase.from('tasks').update(values).eq('id', task_id) if (error) { throw new Error(error) } @@ -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) diff --git a/examples/react-todo-list/src/index.js b/examples/react-todo-list/src/index.js index 751cdc94acc..5203b7b007b 100644 --- a/examples/react-todo-list/src/index.js +++ b/examples/react-todo-list/src/index.js @@ -43,7 +43,7 @@ const Home = (props) => { Tutorial {' '} - | Github + | Github - import Lists from './Lists.svelte' - import { items, subscription } from './items' + import LoginLists from './LoginLists.svelte' + import { items } from './items' export let user let lists - $: { - lists = items() - } - // $: lists2 = subscription() - // lists2.socket.isConnected() && lists2.socket.connectionState() + $: lists = items() - +