⬆️ Update dependencies
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
import { render } from "solid-js/dom";
|
||||
|
||||
import "./index.css";
|
||||
import App from "./App";
|
||||
|
||||
export const rootEl = document.getElementById("root");
|
||||
export const dispose = render(() => App, rootEl);
|
||||
@@ -0,0 +1,11 @@
|
||||
import { render } from "solid-js/dom";
|
||||
|
||||
import "./index.css";
|
||||
import App from "./App";
|
||||
|
||||
const dispose = render(App, document.getElementById("root"));
|
||||
|
||||
if (import.meta.hot) {
|
||||
import.meta.hot.accept()
|
||||
import.meta.hot.dispose(dispose)
|
||||
}
|
||||
Reference in New Issue
Block a user