import { App } from "./app";
import "./style.css";

const fallback = document.getElementById("fallback");

try {
  new App();
} catch (error) {
  if (fallback) {
    fallback.hidden = false;
    fallback.textContent = "This browser cannot start the 3D view. Horizon Lab needs WebGL2.";
  }
  console.error(error);
}
