feat: set is editor ready in viewer

This commit is contained in:
Johnson Cherian 2024-04-05 16:35:57 +05:30
parent 54b8303bb8
commit 6500825c95

View file

@ -210,6 +210,7 @@ class ViewerComponent extends React.Component {
computeComponentState(components).then(async () => {
this.setState({ initialComputationOfStateDone: true, defaultComponentStateComputed: true });
useCurrentStateStore.getState().actions.setEditorReady(true);
this.runQueries(dataQueries);
const currentPageEvents = this.state.events.filter(