ソースを参照

fix: listen on listState if changed

appflowy 3 年 前
コミット
ea654b602c

+ 1 - 0
frontend/app_flowy/lib/workspace/presentation/plugins/grid/src/grid_page.dart

@@ -193,6 +193,7 @@ class _GridRowsState extends State<_GridRows> {
   @override
   Widget build(BuildContext context) {
     return BlocConsumer<GridBloc, GridState>(
+      listenWhen: (previous, current) => previous.listState != current.listState,
       listener: (context, state) {
         state.listState.map(
           insert: (value) {