|
@@ -8,7 +8,7 @@ require('./css/index.styl')
|
8
|
8
|
const appInterface = {
|
9
|
9
|
name: 'Thread',
|
10
|
10
|
isRendered: false,
|
11
|
|
- renderApp: data => {
|
|
11
|
+ renderAppFull: data => {
|
12
|
12
|
return ReactDOM.render(
|
13
|
13
|
<Thread data={data} />
|
14
|
14
|
, document.getElementById(data.config.domContainer)
|
|
@@ -17,7 +17,7 @@ const appInterface = {
|
17
|
17
|
unmountApp: domId => {
|
18
|
18
|
return ReactDOM.unmountComponentAtNode(document.getElementById(domId)) // returns bool
|
19
|
19
|
},
|
20
|
|
- renderPopupCreation: data => {
|
|
20
|
+ renderAppPopupCreation: data => {
|
21
|
21
|
return ReactDOM.render(
|
22
|
22
|
<PopupCreateThread data={data} />
|
23
|
23
|
, document.getElementById(data.config.domContainer)
|