Skip to content

Commit b0a406e

Browse files
committed
Example, removed unsued code
1 parent 97fc163 commit b0a406e

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

example/App.js

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,9 @@
77
*/
88

99
import React, {Component} from 'react';
10-
import {Platform, StyleSheet, Text, TextInput, View} from 'react-native';
10+
import { StyleSheet, Text, TextInput, View} from 'react-native';
1111
import { sha1, sha256 } from 'react-native-sha256';
1212

13-
const instructions = Platform.select({
14-
ios: 'Press Cmd+R to reload,\n' + 'Cmd+D or shake for dev menu',
15-
android:
16-
'Double tap R on your keyboard to reload,\n' +
17-
'Shake or press menu button for dev menu',
18-
});
19-
2013
type Props = {};
2114
export default class App extends Component<Props> {
2215

@@ -41,7 +34,7 @@ export default class App extends Component<Props> {
4134

4235
sha1(subject).then( hash => {
4336
this.setState({
44-
sha1: hash + '.' + hash.length
37+
sha1: hash
4538
})
4639
})
4740
}

0 commit comments

Comments
 (0)