about summary refs log tree commit diff
path: root/src/state/models/ui
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-11-13 13:29:33 -0800
committerGitHub <noreply@github.com>2023-11-13 13:29:33 -0800
commita01463788d5e38ffca81fd0d50886838b7a3baba (patch)
treee7e27ca844515e4d9ce404e93dbcca926dea2c5c /src/state/models/ui
parent82177613635c0f10f0af5be63db4b15131ccc89f (diff)
downloadvoidsky-a01463788d5e38ffca81fd0d50886838b7a3baba.tar.zst
More profile refactor updates (#1886)
* Update the profile avatar lightbox

* Update profile editor

* Add dynamic likes tab

* Add dynamic feeds and lists tabs

* Implement lists listing on profiles
Diffstat (limited to 'src/state/models/ui')
-rw-r--r--src/state/models/ui/shell.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/state/models/ui/shell.ts b/src/state/models/ui/shell.ts
index 8ef322db5..9ce9b6635 100644
--- a/src/state/models/ui/shell.ts
+++ b/src/state/models/ui/shell.ts
@@ -1,7 +1,6 @@
-import {AppBskyEmbedRecord} from '@atproto/api'
+import {AppBskyEmbedRecord, AppBskyActorDefs} from '@atproto/api'
 import {RootStoreModel} from '../root-store'
 import {makeAutoObservable, runInAction} from 'mobx'
-import {ProfileModel} from '../content/profile'
 import {
   shouldRequestEmailConfirmation,
   setEmailConfirmationRequested,
@@ -18,7 +17,7 @@ interface LightboxModel {}
 
 export class ProfileImageLightbox implements LightboxModel {
   name = 'profile-image'
-  constructor(public profileView: ProfileModel) {
+  constructor(public profile: AppBskyActorDefs.ProfileViewDetailed) {
     makeAutoObservable(this)
   }
 }