mirror of
https://github.com/Dvorinka/1356.git
synced 2026-06-05 12:22:56 +00:00
small fix, don't worry about it
This commit is contained in:
@@ -145,7 +145,7 @@ class SocialState {
|
||||
}
|
||||
|
||||
final socialRepositoryProvider = Provider<SocialRepository>((ref) {
|
||||
return SocialRepository(supabaseClient);
|
||||
return SocialRepository(supabaseClient ?? (throw Exception("Supabase not initialized")));
|
||||
});
|
||||
|
||||
final socialControllerProvider = StateNotifierProvider<SocialController, SocialState>((ref) {
|
||||
|
||||
@@ -162,7 +162,7 @@ final socialNotificationsControllerProvider =
|
||||
});
|
||||
|
||||
final socialRepositoryProvider = Provider<SocialRepository>((ref) {
|
||||
return SocialRepository(supabaseClient);
|
||||
return SocialRepository(supabaseClient ?? (throw Exception("Supabase not initialized")));
|
||||
});
|
||||
|
||||
final notificationsRepositoryProvider = Provider<NotificationsRepository>((ref) {
|
||||
|
||||
Reference in New Issue
Block a user