diff options
Diffstat (limited to 'src/state')
-rw-r--r-- | src/state/models/shell-ui.ts | 5 |
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) } } |