File size: 661 Bytes
518343a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// web/src/main.tsx — React entrypoint for the a11oy web app.
//
// Authored per founder reframe 2026-05-30 ~15:27 EDT (a11oy is the Warhacker focal
// demo target). web/index.html references /src/main.tsx but the file was absent;
// this mounts the existing <App/> so `vite build` produces web/dist.
//
// SPDX-License-Identifier: Apache-2.0
import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import App from "./App";

const rootEl = document.getElementById("root");
if (!rootEl) {
  throw new Error('a11oy: #root element not found in index.html');
}

createRoot(rootEl).render(
  <StrictMode>
    <App />
  </StrictMode>,
);