import React from 'react';
import ReactDOM from 'react-dom/client';
import { AppV2 } from './v2/AppV2';
import './v2/styles/semi-theme.scss';
import './v2/styles/v2.css';
import './v2/styles/workspace.css';

if ('scrollRestoration' in window.history) {
  window.history.scrollRestoration = 'manual';
}

ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
  <React.StrictMode>
    <AppV2 />
  </React.StrictMode>
);
