diff options
author | Paul Frazee <pfrazee@gmail.com> | 2022-12-02 10:40:22 -0600 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2022-12-02 10:40:22 -0600 |
commit | ea27b9ed085beec246262c9b6ed25d16e855d939 (patch) | |
tree | fc15ad58ca5694135851e189faf8a389ff5c933d /src/state/models/user-local-photos.ts | |
parent | 90942ae1466333bf8fcdffeaf5432aa65fbb2747 (diff) | |
download | voidsky-ea27b9ed085beec246262c9b6ed25d16e855d939.tar.zst |
Cleanup
Diffstat (limited to 'src/state/models/user-local-photos.ts')
-rw-r--r-- | src/state/models/user-local-photos.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state/models/user-local-photos.ts b/src/state/models/user-local-photos.ts index 12b95e376..9a1455039 100644 --- a/src/state/models/user-local-photos.ts +++ b/src/state/models/user-local-photos.ts @@ -18,8 +18,8 @@ export class UserLocalPhotosModel { } private async _getPhotos() { - runInAction(() => { - CameraRoll.getPhotos({first: 20}).then(r => { + CameraRoll.getPhotos({first: 20}).then(r => { + runInAction(() => { this.photos = r.edges }) }) |