From 2234b4f6769887015b091c0b351abc34adadb0d1 Mon Sep 17 00:00:00 2001 From: Kuitos Date: Thu, 27 Aug 2020 16:18:04 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20fix=20example?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/react15/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/react15/index.js b/examples/react15/index.js index 317deed..54d2dbf 100644 --- a/examples/react15/index.js +++ b/examples/react15/index.js @@ -14,7 +14,7 @@ export async function bootstrap() { console.log('[react15] react app bootstraped'); } -export async function mount(props) { +export async function mount(props = {}) { console.log('[react15] props from main framework', props); const { container } = props; ReactDOM.render(