Skip to content

Commit

Permalink
Fix code in dataProvider example in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Patys authored Aug 30, 2024
1 parent 5d03488 commit 67af846
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ra-supabase-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ export const supabase = createClient('YOUR_SUPABASE_URL', 'YOUR_SUPABASE_ANON_KE

// in dataProvider.js
import { supabaseDataProvider } from 'ra-supabase-core';
import { supabaseClient } from './supabase';
import { supabase } from './supabase';

export const dataProvider = supabaseDataProvider({
instanceUrl: 'YOUR_SUPABASE_URL',
apiKey: 'YOUR_SUPABASE_ANON_KEY',
supabaseClient
supabase
});

// in authProvider.js
Expand Down

0 comments on commit 67af846

Please sign in to comment.