From 2afeb858811e8876947f34e4dd642a37a8a298de Mon Sep 17 00:00:00 2001 From: tdzl2003 Date: Wed, 6 Apr 2016 00:59:23 +0800 Subject: [PATCH] add missing semicolon --- docs/guide2.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guide2.md b/docs/guide2.md index 4795cb0..9af06e0 100644 --- a/docs/guide2.md +++ b/docs/guide2.md @@ -9,7 +9,7 @@ import React, { Platform, } from 'react-native'; -import _updateConfig from '../update.json'; +import _updateConfig from './update.json'; const {appKey} = _updateConfig[Platform.OS]; ``` @@ -122,7 +122,7 @@ class MyProject extends Component { }).catch(err => { Alert.alert('提示', '更新失败.'); }); - } + }; render() { return (