mirror of
https://github.com/embarklabs/dreddit-tutorial.git
synced 2026-08-31 05:21:12 +00:00
14 lines
365 B
JavaScript
14 lines
365 B
JavaScript
import EmbarkJS from 'Embark/EmbarkJS';
|
|
import React from 'react';
|
|
import { render } from 'react-dom';
|
|
import { App } from './components/App';
|
|
|
|
// import your contracts
|
|
// e.g if you have a contract named SimpleStorage:
|
|
//import SimpleStorage from 'Embark/contracts/SimpleStorage';
|
|
|
|
EmbarkJS.onReady(() => {
|
|
render(<App />, document.getElementById('root'));
|
|
});
|
|
|