mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-03 15:15:33 +00:00
Remove all useEffect
usages (#12659)
This commit is contained in:
parent
2daa914334
commit
f53733525c
7 changed files with 208 additions and 168 deletions
|
@ -1,14 +1,10 @@
|
|||
import React from "react";
|
||||
import ReactDOM from "react-dom/client";
|
||||
import Editor from "./Editor";
|
||||
import "./index.css";
|
||||
import { loader } from "@monaco-editor/react";
|
||||
import { setupMonaco } from "./Editor/setupMonaco";
|
||||
|
||||
loader.init().then(setupMonaco);
|
||||
import Chrome from "./Editor/Chrome";
|
||||
|
||||
ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
|
||||
<React.StrictMode>
|
||||
<Editor />
|
||||
<Chrome />
|
||||
</React.StrictMode>,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue