fix(#1002): normalize class name for LinkButton

This commit is contained in:
haitao(lj) 2022-10-11 14:59:33 +08:00
parent 1022b73e6f
commit fa5134dd0f
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ const Index: FC<Props> = ({
className = 'fs-14',
}) => {
return (
<div className={`link-secondary ${className}`}>
<div className={`text-secondary ${className}`}>
{data?.status !== 'deleted' ? (
<Link to={`/users/${data?.username}`}>
{showAvatar && (

View File

@ -19,7 +19,7 @@ const Index: FC<Props> = ({ data, time, preFix }) => {
) : (
<Avatar avatar={data?.avatar} size="40px" className="me-2" />
)}
<div className="fs-14 link-secondary">
<div className="fs-14 text-secondary">
<div>
{data?.status !== 'deleted' ? (
<Link to={`/users/${data?.username}`} className="me-1 text-break">