import ReactDOM from 'react-dom' ; import { DisplayError , AppRefreshButton } from '@cloudbeaver/core-blocks' ; export function showErrorPage ( ) { ReactDOM . render ( < DisplayError root > < AppRefreshButton /> < /DisplayError>, document.getElementById('root')); }