2018-11-28 11:12:50 -05:00
|
|
|
import React from 'react';
|
|
|
|
import { render } from 'react-dom';
|
2019-01-17 15:38:17 -05:00
|
|
|
import DatabaseProvider from '@nozbe/watermelondb/DatabaseProvider';
|
2019-04-23 09:58:54 -04:00
|
|
|
import EmbarkJS from './embarkArtifacts/embarkjs'
|
2019-01-17 15:38:17 -05:00
|
|
|
import database from './db';
|
2018-11-28 11:12:50 -05:00
|
|
|
import App from './dapp';
|
2019-04-23 09:58:54 -04:00
|
|
|
console.log(EmbarkJS);
|
2018-11-28 11:12:50 -05:00
|
|
|
|
|
|
|
render(
|
2019-01-17 15:38:17 -05:00
|
|
|
<DatabaseProvider database={database}>
|
|
|
|
<App />
|
|
|
|
</DatabaseProvider>, document.getElementById('app')
|
2018-11-28 11:12:50 -05:00
|
|
|
);
|