mirror of
https://github.com/status-im/sourcecred.git
synced 2025-01-27 04:46:13 +00:00
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:
parent
63351e6149
commit
e1808d1126
10
src/app/App.js
Normal file
10
src/app/App.js
Normal 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 />;
|
||||
}
|
||||
}
|
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user