platform icon indicating copy to clipboard operation
platform copied to clipboard

Error editing toolbar / sidebar in layout editor

Open aeberhart opened this issue 1 year ago • 1 comments

aeberhart avatar Jul 15 '24 09:07 aeberhart

we still have an issue when editing toolbar:

Warning: Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render

this only happens when this widget is in the toolbar:

                    {
                        "readOnly": true,
                        "fxHide": "lt-sm",
                        "roles": [
                            "admin"
                        ],
                        "widget": "layout-edit-switch"
                    },

aeberhart avatar Jul 15 '24 16:07 aeberhart