Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions website/docs/Usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const storeData = async (value) => {
#### Reading string value
```jsx

getData = async () => {
const getData = async () => {
try {
const value = await AsyncStorage.getItem('@storage_Key')
if(value !== null) {
Expand All @@ -65,7 +65,7 @@ getData = async () => {

```jsx

getData = async () => {
const getData = async () => {
try {
const jsonValue = await AsyncStorage.getItem('@storage_Key')
return jsonValue != null ? JSON.parse(jsonValue) : null;
Expand Down