about summary refs log tree commit diff
path: root/src/state/models/user-local-photos.ts
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2022-12-02 10:40:22 -0600
committerPaul Frazee <pfrazee@gmail.com>2022-12-02 10:40:22 -0600
commitea27b9ed085beec246262c9b6ed25d16e855d939 (patch)
treefc15ad58ca5694135851e189faf8a389ff5c933d /src/state/models/user-local-photos.ts
parent90942ae1466333bf8fcdffeaf5432aa65fbb2747 (diff)
downloadvoidsky-ea27b9ed085beec246262c9b6ed25d16e855d939.tar.zst
Cleanup
Diffstat (limited to 'src/state/models/user-local-photos.ts')
-rw-r--r--src/state/models/user-local-photos.ts4
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
       })
     })