2018-11-28 16:12:50 +00:00
|
|
|
import React from 'react';
|
|
|
|
import { render } from 'react-dom';
|
2019-01-17 20:38:17 +00:00
|
|
|
import DatabaseProvider from '@nozbe/watermelondb/DatabaseProvider';
|
|
|
|
import database from './db';
|
2018-11-28 16:12:50 +00:00
|
|
|
import App from './dapp';
|
|
|
|
|
|
|
|
render(
|
2019-01-17 20:38:17 +00:00
|
|
|
<DatabaseProvider database={database}>
|
|
|
|
<App />
|
|
|
|
</DatabaseProvider>, document.getElementById('app')
|
2018-11-28 16:12:50 +00:00
|
|
|
);
|