import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import "../index.css";
import StorefrontApp from "./StorefrontApp";

const root = document.getElementById("root");
if (!root) throw new Error("Storefront root is missing");

createRoot(root).render(
  <StrictMode>
    <StorefrontApp />
  </StrictMode>,
);
