Reorganize state models for clarity (#378)

This commit is contained in:
Paul Frazee
2023-04-03 15:21:17 -05:00
committed by GitHub
parent 9652d994dd
commit 2045c615a8
44 changed files with 163 additions and 171 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ import {
FontAwesomeIcon,
FontAwesomeIconStyle,
} from '@fortawesome/react-native-fontawesome'
import {PostThreadViewPostModel} from 'state/models/post-thread-view'
import {PostThreadItemModel} from 'state/models/content/post-thread'
import {Link} from '../util/Link'
import {RichText} from '../util/text/RichText'
import {Text} from '../util/text/Text'
@@ -31,7 +31,7 @@ export const PostThreadItem = observer(function PostThreadItem({
item,
onPostReply,
}: {
item: PostThreadViewPostModel
item: PostThreadItemModel
onPostReply: () => void
}) {
const pal = usePalette('default')