Add src/app/App.js

This commit adds src/app/App.js, which proxies in the frontend from
src/plugins/artifact/editor/App.js. The observed behavior (run `yarn
start`; see Artifact Editor) is unchanged.

Test plan: Observe that `yarn start` has the same behavior, and travis
passes.
This commit is contained in:
Dandelion Mané 2018-05-08 12:09:20 -07:00
parent 63351e6149
commit e1808d1126
2 changed files with 11 additions and 1 deletions

10
src/app/App.js Normal file
View File

@ -0,0 +1,10 @@
// @flow
import React from "react";
import ArtifactEditor from "../plugins/artifact/editor/App";
export default class App extends React.Component<{}> {
render() {
return <ArtifactEditor />;
}
}

View File

@ -2,7 +2,7 @@
import React from "react";
import ReactDOM from "react-dom";
import "./index.css";
import App from "../plugins/artifact/editor/App";
import App from "./App";
import registerServiceWorker from "./registerServiceWorker";
const root = document.getElementById("root");