feat(view): wire app instance into frontend

This commit is contained in:
syntaxbullet
2026-07-03 09:47:05 +02:00
parent 79c3748b0e
commit a460d6ea05
2 changed files with 23 additions and 10 deletions

View File

@@ -5,14 +5,16 @@
* It is included in `view/index.html`.
*/
import { createImageStudioApp } from "@app/app";
import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import { App } from "./App";
const elem = document.getElementById("root")!;
const imageStudioApp = createImageStudioApp();
const app = (
<StrictMode>
<App />
<App app={imageStudioApp} />
</StrictMode>
);