about summary refs log tree commit diff
path: root/src/state/models/shell.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/state/models/shell.ts')
-rw-r--r--src/state/models/shell.ts7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/state/models/shell.ts b/src/state/models/shell.ts
index 7ef8137e8..0a07ce686 100644
--- a/src/state/models/shell.ts
+++ b/src/state/models/shell.ts
@@ -1,5 +1,6 @@
-import {makeAutoObservable, runInAction} from 'mobx'
+import {makeAutoObservable} from 'mobx'
 import {ProfileViewModel} from './profile-view'
+import * as Post from '../../third-party/api/src/types/app/bsky/post'
 
 export class TabsSelectorModel {
   name = 'tabs-selector'
@@ -35,12 +36,12 @@ export class SharePostModel {
 }
 
 export interface ComposePostModelOpts {
-  replyTo?: string
+  replyTo?: Post.PostRef
   onPost?: () => void
 }
 export class ComposePostModel {
   name = 'compose-post'
-  replyTo?: string
+  replyTo?: Post.PostRef
   onPost?: () => void
 
   constructor(opts?: ComposePostModelOpts) {