saahildcom/src/index.tsx

25 lines
752 B
TypeScript
Raw Normal View History

2024-06-11 03:46:47 +00:00
import React from 'react';
import './index.css';
2024-06-12 02:37:31 +00:00
import "animate.css/animate.compat.css";
import ReactDOM from 'react-dom/client';
2024-06-11 03:46:47 +00:00
import App from './App';
import reportWebVitals from './reportWebVitals';
2024-06-12 02:37:31 +00:00
import Background from './bg/main';
import { injectOneko } from './scripts/oneko';
2024-06-11 03:46:47 +00:00
const root = ReactDOM.createRoot(
document.getElementById('root') as HTMLElement
);
2024-06-12 02:37:31 +00:00
injectOneko();
document.title = 'React App';
2024-06-11 03:46:47 +00:00
root.render(
<React.StrictMode>
2024-06-12 02:37:31 +00:00
<Background />
2024-06-11 03:46:47 +00:00
<App />
</React.StrictMode>
);
// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
2024-06-12 02:37:31 +00:00
reportWebVitals(console.log);