mirror of https://gitee.com/answerdev/answer.git
fix: flats error
This commit is contained in:
parent
23b797c1f9
commit
a5394ad958
|
@ -18,7 +18,7 @@ const Index: FC<Props> = ({
|
|||
}) => {
|
||||
return (
|
||||
<div className={`text-secondary ${className}`}>
|
||||
{data.status !== 'deleted' ? (
|
||||
{data?.status !== 'deleted' ? (
|
||||
<Link to={`/users/${data?.username}`}>
|
||||
{showAvatar && (
|
||||
<Avatar avatar={data?.avatar} size={avatarSize} className="me-1" />
|
||||
|
|
Loading…
Reference in New Issue