17 lines
487 B
TypeScript
17 lines
487 B
TypeScript
import { StrictMode } from 'react';
|
|
import { createRoot } from 'react-dom/client';
|
|
|
|
// No webfonts: the styling copies GitHub, and GitHub renders its UI and its
|
|
// diffs in the platform's own system and monospace faces.
|
|
// Import the library's base diff styles BEFORE ours so our overrides win.
|
|
import 'react-diff-view/style/index.css';
|
|
import './styles.css';
|
|
|
|
import App from './App';
|
|
|
|
createRoot(document.getElementById('root')!).render(
|
|
<StrictMode>
|
|
<App />
|
|
</StrictMode>,
|
|
);
|