Files
bookshelf/books/index.tsx
Yuriy Panov 3004f712f3 initial
2026-02-02 17:12:25 +06:00

17 lines
351 B
TypeScript

import React from 'react';
import ReactDOM from 'react-dom/client';
import App from './App';
const rootElement = document.getElementById('root');
if (!rootElement) {
throw new Error("Could not find root element to mount to");
}
const root = ReactDOM.createRoot(rootElement);
root.render(
<React.StrictMode>
<App />
</React.StrictMode>
);