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

Change Network Status to use the interface instead of client #68

Merged
merged 6 commits into from
Jun 27, 2023

Conversation

wiverson
Copy link
Collaborator

What kind of change does this PR introduce?

Right now to use NetworkStatus with the parent/main Supabase client the parent Supabase.Auth has to be cast to client. This fixes NetworkStatus to use the interface instead, avoiding the cast.

What is the current behavior?

Works but needs a cast.

@acupofjose acupofjose merged commit f9cab58 into supabase-community:master Jun 27, 2023
1 check passed
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