Browse Source

remove unused code

matrixbirds 6 years ago
parent
commit
5d65b41ed8
1 changed files with 1 additions and 8 deletions
  1. 1
    8
      samples/simpleDemo/App.js

+ 1
- 8
samples/simpleDemo/App.js View File

8
 
8
 
9
 import React, {Component} from 'react';
9
 import React, {Component} from 'react';
10
 import {
10
 import {
11
-  Platform, StyleSheet, Text, View, TouchableOpacity, TextInput
11
+  StyleSheet, Text, View, TouchableOpacity, TextInput
12
 } from 'react-native';
12
 } from 'react-native';
13
 import AgoraRTCView from './components/agora';
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
 const styles = StyleSheet.create({
15
 const styles = StyleSheet.create({
23
   container: {
16
   container: {
24
     flex: 1,
17
     flex: 1,