fix: render root element on dom load
This commit is contained in:
@@ -59,10 +59,12 @@ const startApplication: StartApplication = async function startApplication(
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
render(
|
window.addEventListener('DOMContentLoaded', () => {
|
||||||
<ApplicationGroupView mainApplicationGroup={mainApplicationGroup} />,
|
render(
|
||||||
document.body.appendChild(document.createElement('div'))
|
<ApplicationGroupView mainApplicationGroup={mainApplicationGroup} />,
|
||||||
);
|
document.body.appendChild(document.createElement('div'))
|
||||||
|
);
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
if (IsWebPlatform) {
|
if (IsWebPlatform) {
|
||||||
|
|||||||
Reference in New Issue
Block a user