Fixed props type
This commit is contained in:
parent
0606bbfa0b
commit
47a647c1d7
|
@ -19,6 +19,7 @@ import stylesTopic from '../Feed/CardTopic.module.scss'
|
||||||
import styles from './Feed.module.scss'
|
import styles from './Feed.module.scss'
|
||||||
import { clsx } from 'clsx'
|
import { clsx } from 'clsx'
|
||||||
import Userpic from '../Author/Userpic'
|
import Userpic from '../Author/Userpic'
|
||||||
|
import type { Author } from '../../graphql/types.gen'
|
||||||
|
|
||||||
// const AUTHORSHIP_REACTIONS = [
|
// const AUTHORSHIP_REACTIONS = [
|
||||||
// ReactionKind.Accept,
|
// ReactionKind.Accept,
|
||||||
|
@ -139,7 +140,7 @@ export const FeedView = () => {
|
||||||
<li class={styles.comment}>
|
<li class={styles.comment}>
|
||||||
<div class={clsx('text-truncate', styles.commentBody)} innerHTML={comment.body} />
|
<div class={clsx('text-truncate', styles.commentBody)} innerHTML={comment.body} />
|
||||||
<AuthorCard
|
<AuthorCard
|
||||||
author={comment.createdBy}
|
author={comment.createdBy as Author}
|
||||||
isFeedMode={true}
|
isFeedMode={true}
|
||||||
compact={true}
|
compact={true}
|
||||||
hideFollow={true}
|
hideFollow={true}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user