re-execute when we remount the app (#769)
Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
@ -28,6 +28,10 @@ export function useSetupEngineManager(
|
||||
|
||||
const hasSetNonZeroDimensions = useRef<boolean>(false)
|
||||
|
||||
useEffect(() => {
|
||||
executeCode()
|
||||
}, [])
|
||||
|
||||
useLayoutEffect(() => {
|
||||
// Load the engine command manager once with the initial width and height,
|
||||
// then we do not want to reload it.
|
||||
|
Reference in New Issue
Block a user