urbit/pkg/interface/dbug/src/index.js

18 lines
384 B
JavaScript
Raw Normal View History

2020-05-08 15:58:40 +03:00
import React from 'react';
import ReactDOM from 'react-dom';
import { Root } from '/components/root';
import { api } from '/api';
import { store } from '/store';
import { subscription } from "/subscription";
api.setAuthTokens({
ship: window.ship
});
2020-06-24 04:46:20 +03:00
window.urb = new window.channel();
2020-05-08 15:58:40 +03:00
subscription.start();
ReactDOM.render((
<Root />
), document.querySelectorAll("#root")[0]);