1 import ReactDOM from 'react-dom';
3 import '@proton/polyfill';
5 import App from './App';
6 import UrlsApp from './UrlsApp';
8 import { initializePerformanceMetrics } from './utils/performance';
10 const isPublicUrl = window.location.pathname.startsWith('/urls');
12 initializePerformanceMetrics(isPublicUrl);
14 ReactDOM.render(isPublicUrl ? <UrlsApp /> : <App />, document.querySelector('.app-root'));