mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-10-10 03:27:59 +00:00
14 lines
380 B
TypeScript
14 lines
380 B
TypeScript
import React from 'react';
|
|
import ReactDOM from 'react-dom/client';
|
|
import { Buffer } from 'buffer';
|
|
import App from './App';
|
|
import './index.css';
|
|
|
|
// Polyfill Buffer for isomorphic-git (requires Node.js Buffer API)
|
|
globalThis.Buffer = Buffer;
|
|
|
|
ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
|
|
<React.StrictMode>
|
|
<App />
|
|
</React.StrictMode>
|
|
);
|