diff options
author | Hailey <153161762+haileyok@users.noreply.github.com> | 2024-01-19 16:15:07 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-19 16:15:07 -0800 |
commit | eb07b983bd70cb9e913bb40a2ac0686a33fc3f6d (patch) | |
tree | bc2923a9b2e2d941daa843b3414a1ee3bbd427cd /src/state/shell/composer.tsx | |
parent | 920d48849e0c9d71443f72abab3ff650e264793e (diff) | |
download | voidsky-eb07b983bd70cb9e913bb40a2ac0686a33fc3f6d.tar.zst |
properly shorten links in quote embeds (#2570)
* properly shorten links in quote embeds * lint
Diffstat (limited to 'src/state/shell/composer.tsx')
-rw-r--r-- | src/state/shell/composer.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/state/shell/composer.tsx b/src/state/shell/composer.tsx index 51376fd5a..2133ee6b0 100644 --- a/src/state/shell/composer.tsx +++ b/src/state/shell/composer.tsx @@ -1,5 +1,5 @@ import React from 'react' -import {AppBskyEmbedRecord} from '@atproto/api' +import {AppBskyEmbedRecord, AppBskyRichtextFacet} from '@atproto/api' import {useNonReactiveCallback} from '#/lib/hooks/useNonReactiveCallback' export interface ComposerOptsPostRef { @@ -17,6 +17,7 @@ export interface ComposerOptsQuote { uri: string cid: string text: string + facets?: AppBskyRichtextFacet.Main[] indexedAt: string author: { did: string |