Skip to content

Commit

Permalink
fix: use ref watch of feature flag provider
Browse files Browse the repository at this point in the history
  • Loading branch information
ice-kreios committed Jan 7, 2025
1 parent 42a9fd8 commit 3984982
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class DiscoverCreators extends HookConsumerWidget {
final contentCreators = entitiesPagedData?.data.items?.whereType<UserMetadataEntity>();

final hideCreatorsWithoutPicture = ref
.read(featureFlagsProvider.notifier)
.watch(featureFlagsProvider.notifier)
.get(HideCreatorsWithoutPicture.hideCreatorsWithoutPicture);

final filteredCreators = hideCreatorsWithoutPicture
Expand Down

0 comments on commit 3984982

Please sign in to comment.