From 2fc33da4facc27c855c5517810cffd34897dfb68 Mon Sep 17 00:00:00 2001 From: Paul Copplestone Date: Sun, 12 Jan 2020 12:32:21 +0800 Subject: [PATCH] Fixing code snippets --- web/src/pages/index.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/web/src/pages/index.js b/web/src/pages/index.js index ab0506a8ef1..ae0d3cff387 100755 --- a/web/src/pages/index.js +++ b/web/src/pages/index.js @@ -34,7 +34,7 @@ const countries = await supabase name, cities { name, population } \`) - .filter('cities=popution=gte.10000') + .filter('cities=population=gte.10000') `.trim() const createExample = ` import { createClient } from '@supabase/supabase-js' @@ -55,7 +55,7 @@ const supabase = createClient('https://world.supabase.io', '1a2b-3c4d-5e6f-7g8h' // Update all city names in New Zealand const listener = supabase - .from('employees') + .from('cities') .eq('country_code', 'NZ') .update({ name: 'Middle Earth' }) `.trim() @@ -115,8 +115,7 @@ function Home() {

{siteConfig.tagline}

Supabase adds realtime and RESTful APIs to your{' '} - existing PostgreSQL database without a - single line of code. + existing PostgreSQL database.