mirror of
https://github.com/wassname/talk.git
synced 2026-07-13 17:45:56 +08:00
25 lines
644 B
JavaScript
25 lines
644 B
JavaScript
import React from 'react';
|
|
import {render} from 'react-dom';
|
|
import {ApolloProvider} from 'react-apollo';
|
|
import smoothscroll from 'smoothscroll-polyfill';
|
|
|
|
import {getClient} from './services/client';
|
|
import store from './services/store';
|
|
|
|
import App from './components/App';
|
|
|
|
import 'react-mdl/extra/material.js';
|
|
import './graphql';
|
|
import {loadPluginsTranslations, injectPluginsReducers} from 'coral-framework/helpers/plugins';
|
|
|
|
loadPluginsTranslations();
|
|
injectPluginsReducers();
|
|
smoothscroll.polyfill();
|
|
|
|
render(
|
|
<ApolloProvider client={getClient()} store={store}>
|
|
<App />
|
|
</ApolloProvider>
|
|
, document.querySelector('#root')
|
|
);
|