Skip to content

Commit

Permalink
Fix providers
Browse files Browse the repository at this point in the history
  • Loading branch information
redDwarf03 committed Jan 7, 2025
1 parent e6de65c commit b1c9e14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/application/dapps/my_dapps.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ MyDAppsRepositoryImpl myDAppsRepository(
Future<List<DApp>> getMyDApps(
Ref ref,
) async {
return ref.read(myDAppsRepositoryProvider).getMyDApps();
return ref.watch(myDAppsRepositoryProvider).getMyDApps();
}

@riverpod
Expand All @@ -24,5 +24,5 @@ Future<DApp?> getMyDApp(
String url,
) async {
if (Uri.tryParse(url) == null) return null;
return ref.read(myDAppsRepositoryProvider).getMyDApp(url);
return ref.watch(myDAppsRepositoryProvider).getMyDApp(url);
}

0 comments on commit b1c9e14

Please sign in to comment.