Extract the render ready status into an extra redux state

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2021-06-21 15:20:49 +02:00
parent 568393eaab
commit 015a5cf496
10 changed files with 92 additions and 38 deletions

View file

@ -24,7 +24,7 @@ import { useApplicationState } from '../../hooks/common/use-application-state'
export const IntroPage: React.FC = () => {
const introPageContent = useIntroPageContent()
const rendererReady = useApplicationState((state) => state.editorConfig.rendererReady)
const rendererReady = useApplicationState((state) => state.rendererStatus.rendererReady)
return (
<IframeEditorToRendererCommunicatorContextProvider>