2023-08-10 17:31:45 -07:00
|
|
|
import React from "react";
|
|
|
|
import ReactDOM from "react-dom";
|
|
|
|
|
2023-08-10 18:09:10 -07:00
|
|
|
import { AppProvider, WardrobePage } from "./wardrobe-2020";
|
|
|
|
|
2023-08-10 17:31:45 -07:00
|
|
|
const rootNode = document.querySelector("#wardrobe-2020-root");
|
2023-11-02 18:03:15 -07:00
|
|
|
// TODO: Use the new React 18 APIs instead!
|
|
|
|
// eslint-disable-next-line react/no-deprecated
|
2023-08-10 18:09:10 -07:00
|
|
|
ReactDOM.render(
|
2024-09-09 16:10:45 -07:00
|
|
|
<AppProvider>
|
|
|
|
<WardrobePage />
|
|
|
|
</AppProvider>,
|
|
|
|
rootNode,
|
2023-08-10 18:09:10 -07:00
|
|
|
);
|