mirror of
https://github.com/wassname/talk.git
synced 2026-09-09 11:38:08 +08:00
Cleanup
This commit is contained in:
@@ -9,14 +9,12 @@ import 'react-mdl/extra/material.js';
|
||||
import graphqlExtension from './graphql';
|
||||
import pluginsConfig from 'pluginsConfig';
|
||||
|
||||
const context = createContext({reducers, graphqlExtension, pluginsConfig});
|
||||
|
||||
smoothscroll.polyfill();
|
||||
|
||||
const context = createContext({reducers, graphqlExtension, pluginsConfig});
|
||||
|
||||
render(
|
||||
<TalkProvider
|
||||
{...context}
|
||||
>
|
||||
<TalkProvider {...context}>
|
||||
<App />
|
||||
</TalkProvider>
|
||||
, document.querySelector('#root')
|
||||
|
||||
@@ -52,9 +52,7 @@ if (!window.opener) {
|
||||
}
|
||||
|
||||
render(
|
||||
<TalkProvider
|
||||
{...context}
|
||||
>
|
||||
<TalkProvider {...context}>
|
||||
<AppRouter />
|
||||
</TalkProvider>
|
||||
, document.querySelector('#talk-embed-stream-container')
|
||||
|
||||
Reference in New Issue
Block a user