diff options
author | Paul Frazee <pfrazee@gmail.com> | 2022-12-22 09:17:07 -0600 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2022-12-22 09:17:07 -0600 |
commit | 4913a07e3365d2004e67e9131dd4b4c15094dd33 (patch) | |
tree | 6247f7fe52fdc8a6b29143f1d2f247b4e28987ec /src/view/com/post-thread/PostThreadItem.tsx | |
parent | 7f4a54ff0d83983460e787fde21707405acc38b0 (diff) | |
download | voidsky-4913a07e3365d2004e67e9131dd4b4c15094dd33.tar.zst |
Unvendor the api and switch to @atproto/api
Diffstat (limited to 'src/view/com/post-thread/PostThreadItem.tsx')
-rw-r--r-- | src/view/com/post-thread/PostThreadItem.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/com/post-thread/PostThreadItem.tsx b/src/view/com/post-thread/PostThreadItem.tsx index c45de2cb0..1a0b0ff87 100644 --- a/src/view/com/post-thread/PostThreadItem.tsx +++ b/src/view/com/post-thread/PostThreadItem.tsx @@ -3,7 +3,7 @@ import {observer} from 'mobx-react-lite' import {StyleSheet, View} from 'react-native' import Clipboard from '@react-native-clipboard/clipboard' import {AtUri} from '../../../third-party/uri' -import * as PostType from '../../../third-party/api/src/client/types/app/bsky/feed/post' +import {AppBskyFeedPost} from '@atproto/api' import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome' import {PostThreadViewPostModel} from '../../../state/models/post-thread-view' import {Link} from '../util/Link' @@ -32,7 +32,7 @@ export const PostThreadItem = observer(function PostThreadItem({ }) { const store = useStores() const [deleted, setDeleted] = useState(false) - const record = item.post.record as unknown as PostType.Record + const record = item.post.record as unknown as AppBskyFeedPost.Record const hasEngagement = item.post.upvoteCount || item.post.repostCount const itemHref = useMemo(() => { |