mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-26 00:12:28 +03:00
18 lines
384 B
JavaScript
18 lines
384 B
JavaScript
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
|
|
});
|
|
|
|
window.urb = new window.channel();
|
|
subscription.start();
|
|
|
|
ReactDOM.render((
|
|
<Root />
|
|
), document.querySelectorAll("#root")[0]);
|