mirror of
https://github.com/LalleSX/4chan-XZ.git
synced 2025-10-07 07:22:37 +02:00
14 lines
351 B
TypeScript
14 lines
351 B
TypeScript
import "../../enableDevHmr";
|
|
import React from "react";
|
|
import ReactDOM from "react-dom/client";
|
|
import renderContent from "../renderContent";
|
|
import App from "./App";
|
|
|
|
renderContent(import.meta.PLUGIN_WEB_EXT_CHUNK_CSS_PATHS, (appRoot) => {
|
|
ReactDOM.createRoot(appRoot).render(
|
|
<React.StrictMode>
|
|
<App />
|
|
</React.StrictMode>
|
|
);
|
|
});
|