forked from OpenNeo/impress
Matchu
e300b2d342
Looks like the version of Prettier I just installed is v3, whereas our last run in the impress-2020 repo was with v2. I don't think we had any special config in that project, I think these are just changes to Prettier's defaults, and I'm comfortable accepting them! (Mostly seems like a lot of trailing commas.)
13 lines
364 B
JavaScript
13 lines
364 B
JavaScript
import React from "react";
|
|
import ReactDOM from "react-dom";
|
|
|
|
import { AppProvider, ItemPageOutfitPreview } from "./wardrobe-2020";
|
|
|
|
const rootNode = document.querySelector("#outfit-preview-root");
|
|
const itemId = rootNode.getAttribute("data-item-id");
|
|
ReactDOM.render(
|
|
<AppProvider>
|
|
<ItemPageOutfitPreview itemId={itemId} />
|
|
</AppProvider>,
|
|
rootNode,
|
|
);
|