Browse Source

renamed app parameter

Skylsmoi 7 years ago
parent
commit
c54f777d2e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/index.js

+ 1 - 1
src/index.js View File

@@ -9,7 +9,7 @@ const appInterface = {
9 9
   isRendered: false,
10 10
   renderApp: (domId, data) => {
11 11
     return ReactDOM.render(
12
-      <PageHtml app={data} />
12
+      <PageHtml data={data} />
13 13
       , document.getElementById(domId)
14 14
     )
15 15
   },