Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Doc] Fix code in dataProvider example in readme #72

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

Patys
Copy link
Contributor

@Patys Patys commented Aug 30, 2024

In example code, we export supabase instead of supabaseClient in supabase.js file, so import causes error in dataProvider.

// in supabase.js
import { createClient } from '@supabase/supabase-js';
export const supabase = createClient('YOUR_SUPABASE_URL', 'YOUR_SUPABASE_ANON_KEY');

@fzaninotto fzaninotto merged commit 4a79c5a into marmelab:main Sep 2, 2024
3 checks passed
@fzaninotto
Copy link
Member

Thanks!

@fzaninotto fzaninotto added this to the 3.2.0 milestone Sep 2, 2024
@fzaninotto fzaninotto changed the title Fix code in dataProvider example in readme [Doc] Fix code in dataProvider example in readme Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants