瀏覽代碼

remove unused code

matrixbirds 5 年之前
父節點
當前提交
5d65b41ed8
共有 1 個文件被更改,包括 1 次插入8 次删除
  1. 1
    8
      samples/simpleDemo/App.js

+ 1
- 8
samples/simpleDemo/App.js 查看文件

@@ -8,17 +8,10 @@
8 8
 
9 9
 import React, {Component} from 'react';
10 10
 import {
11
-  Platform, StyleSheet, Text, View, TouchableOpacity, TextInput
11
+  StyleSheet, Text, View, TouchableOpacity, TextInput
12 12
 } from 'react-native';
13 13
 import AgoraRTCView from './components/agora';
14 14
 
15
-const instructions = Platform.select({
16
-  ios: 'Press Cmd+R to reload,\n' + 'Cmd+D or shake for dev menu',
17
-  android:
18
-    'Double tap R on your keyboard to reload,\n' +
19
-    'Shake or press menu button for dev menu',
20
-});
21
-
22 15
 const styles = StyleSheet.create({
23 16
   container: {
24 17
     flex: 1,