diff options
author | Ansh <anshnanda10@gmail.com> | 2023-08-22 11:01:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-22 11:01:00 -0700 |
commit | 16b265a86164e682486a3d8fa51bfa18d51bb945 (patch) | |
tree | 672a87170b11d9c9a6b7990f5b828da469981062 /src/view/shell/Composer.web.tsx | |
parent | 3aadc43c896e1c54552387f028a476d7d8ec2d3c (diff) | |
download | voidsky-16b265a86164e682486a3d8fa51bfa18d51bb945.tar.zst |
[APP-834] Allow @ing someone in post directly from profile (#1241)
* setup `initMention` for mobile * setup creating post with profile tagged on web
Diffstat (limited to 'src/view/shell/Composer.web.tsx')
-rw-r--r-- | src/view/shell/Composer.web.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/view/shell/Composer.web.tsx b/src/view/shell/Composer.web.tsx index cf850aa4f..2effa0cca 100644 --- a/src/view/shell/Composer.web.tsx +++ b/src/view/shell/Composer.web.tsx @@ -15,6 +15,7 @@ export const Composer = observer( quote, onPost, onClose, + mention, }: { active: boolean winHeight: number @@ -22,6 +23,7 @@ export const Composer = observer( quote: ComposerOpts['quote'] onPost?: ComposerOpts['onPost'] onClose: () => void + mention?: ComposerOpts['mention'] }) => { const pal = usePalette('default') @@ -40,6 +42,7 @@ export const Composer = observer( quote={quote} onPost={onPost} onClose={onClose} + mention={mention} /> </View> </View> |