Change from watching NewStatisticState to reading NewStatisticState in _NewStatisticState

This commit is contained in:
MohammadTaha Basiri 2024-04-16 10:40:29 +03:30
parent 439f1f5cb5
commit d69fa7b174
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ class _NewStatisticState extends State<NewStatistic> {
StateHandler<NewStatisticState>(
enableEmptyState: false,
onRetry: context.read<NewStatisticState>().init,
state: context.watch<NewStatisticState>(),
state: context.read<NewStatisticState>(),
placeholder: Padding(
padding: const EdgeInsets.only(top: 48.0),
child: Column(