about summary refs log tree commit diff
path: root/src/state/models
diff options
context:
space:
mode:
Diffstat (limited to 'src/state/models')
-rw-r--r--src/state/models/shell-ui.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/state/models/shell-ui.ts b/src/state/models/shell-ui.ts
index 8eefc711c..cc884f1c3 100644
--- a/src/state/models/shell-ui.ts
+++ b/src/state/models/shell-ui.ts
@@ -42,7 +42,10 @@ export class SharePostModel {
 export class EditProfileModel {
   name = 'edit-profile'
 
-  constructor(public profileView: ProfileViewModel) {
+  constructor(
+    public profileView: ProfileViewModel,
+    public onUpdate?: () => void,
+  ) {
     makeAutoObservable(this)
   }
 }