import { createRoot } from 'react-dom/client'
import App from './App.tsx'
import './index.css'
import faviconUrl from './assets/logo.png'

for (const el of document.querySelectorAll<HTMLLinkElement>(
  'link[rel="icon"], link[rel="shortcut icon"], link[rel="apple-touch-icon"]'
)) {
  el.href = faviconUrl
  el.type = 'image/png'
}

createRoot(document.getElementById("root")!).render(<App />);
