urbit/pkg/btc-wallet/src/index.js
2021-05-26 18:30:17 -07:00

26 lines
505 B
JavaScript

import React from 'react';
import ReactDOM from 'react-dom';
import { Root } from './js/components/root.js';
import { api } from './js/api.js';
import { subscription } from "./js/subscription.js";
import './css/indigo-static.css';
import './css/fonts.css';
import './css/custom.css';
api.setAuthTokens({
ship: window.ship
});
window.urb = new window.channel();
subscription.start();
if (module.hot) {
module.hot.accept()
}
ReactDOM.render((
<Root />
), document.querySelectorAll("#root")[0]);