small fix, don't worry about it

This commit is contained in:
Tomas Dvorak committed 2026-04-10 12:05:40 +02:00
1 parent 7b7ed0083f
commit 5ab2773f98
55 files changed
+3240 -483

No files matched your search

@@ -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) {