Skip to content

Commit ccdd5c4

Browse files
committed
Update example
Signed-off-by: Yuki Kishimoto <[email protected]>
1 parent 9c1e0a3 commit ccdd5c4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

example/src/App.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import { Text, View, StyleSheet } from 'react-native';
2-
import { multiply } from 'nostr-sdk-react-native';
2+
import { Keys } from 'nostr-sdk-react-native';
33

4-
const result = multiply(3, 7);
4+
const keys = Keys.generate();
55

66
export default function App() {
77
return (
88
<View style={styles.container}>
9-
<Text>Result: {result}</Text>
9+
<Text>Result: {keys.publicKey().toBech32()}</Text>
1010
</View>
1111
);
1212
}

0 commit comments

Comments
 (0)