Skip to content

Commit c001410

Browse files
authored
docs(your-first-app): Replace Storage with Preferences (#2533)
1 parent 4ecd1f4 commit c001410

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/vue/your-first-app/5-adding-mobile.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Next, add a new bit of logic in the `loadSaved` function. On mobile, we can dire
5757

5858
```tsx
5959
const loadSaved = async () => {
60-
const photoList = await Storage.get({ key: PHOTO_STORAGE });
60+
const photoList = await Preferences.get({ key: PHOTO_STORAGE });
6161
const photosInPreferences = photoList.value ? JSON.parse(photoList.value) : [];
6262

6363
// If running on the web...

0 commit comments

Comments
 (0)