mirror of
https://github.com/Dvorinka/1356.git
synced 2026-06-05 04:22:55 +00:00
small fix, don't worry about it
This commit is contained in:
@@ -154,7 +154,11 @@ class GoalsState {
|
||||
}
|
||||
|
||||
final goalsRepositoryProvider = Provider<GoalsRepository>((ref) {
|
||||
return GoalsRepository(supabaseClient);
|
||||
final client = supabaseClient;
|
||||
if (client == null) {
|
||||
throw Exception('Supabase not initialized - goals repository unavailable');
|
||||
}
|
||||
return GoalsRepository(client);
|
||||
});
|
||||
|
||||
final goalsControllerProvider = StateNotifierProvider<GoalsController, GoalsState>((ref) {
|
||||
|
||||
Reference in New Issue
Block a user