We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d89db5 commit bf0c254Copy full SHA for bf0c254
website/docs/Usage.md
@@ -49,7 +49,7 @@ const storeData = async (value) => {
49
#### Reading string value
50
```jsx
51
52
-getData = async () => {
+const getData = async () => {
53
try {
54
const value = await AsyncStorage.getItem('@storage_Key')
55
if(value !== null) {
@@ -65,7 +65,7 @@ getData = async () => {
65
66
67
68
69
70
const jsonValue = await AsyncStorage.getItem('@storage_Key')
71
return jsonValue != null ? JSON.parse(jsonValue) : null;
0 commit comments