diff --git a/packages/neon/neon_news/lib/pages/main.dart b/packages/neon/neon_news/lib/pages/main.dart index 64e11df1..a28abe62 100644 --- a/packages/neon/neon_news/lib/pages/main.dart +++ b/packages/neon/neon_news/lib/pages/main.dart @@ -16,7 +16,7 @@ class _NewsMainPageState extends State { @override void initState() { super.initState(); - final bloc = Provider.of(context, listen: false); + bloc = Provider.of(context, listen: false); bloc.errors.listen((final error) { NeonException.showSnackbar(context, error);