diff --git a/README.md b/README.md index 1e55af90..b0e4ab78 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,9 @@ Then you can use it from a global `supabase` variable: import { createClient } from '@supabase/supabase-js' // Provide a custom `fetch` implementation as an option -const supabase = createClient('https://xyzcompany.supabase.co', 'public-anon-key', { fetch: fetch }) +const supabase = createClient('https://xyzcompany.supabase.co', 'public-anon-key', { + fetch: (...args) => fetch(...args), +}) ``` ## Sponsors