Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function _onLoad(): void {
if (!window.location.hash) {
window.location.hash = '#/';
}
handleRedirects(siteDefinition.redirects);
// Load the app into this element.
rootElement = rootElement || document.getElementById('main');
_getBreakpoint();
const renderSite = (props: {}) => ;
ReactDOM.render(
{_getSiteRoutes()}
,
rootElement
);
}