mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-02 15:13:25 +03:00
26 lines
505 B
JavaScript
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]);
|