mirror of
https://github.com/urbit/shrub.git
synced 2024-12-21 09:51:36 +03:00
17 lines
349 B
JavaScript
17 lines
349 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
|
|
});
|
|
|
|
subscription.start();
|
|
|
|
ReactDOM.render((
|
|
<Root />
|
|
), document.querySelectorAll("#root")[0]);
|