refactor: convert theme author span to button

This commit is contained in:
Hachi-R 2025-01-29 03:49:47 -03:00
parent b56fc4d888
commit 1fe6abb241

View File

@ -96,12 +96,12 @@ export const ThemeCard = ({ theme, onListUpdated }: ThemeCardProps) => {
<p className="theme-card__author"> <p className="theme-card__author">
{t("by")} {t("by")}
<span <button
className="theme-card__author__name" className="theme-card__author__name"
onClick={() => navigate(`/profile/${theme.author}`)} onClick={() => navigate(`/profile/${theme.author}`)}
> >
{theme.authorName} {theme.authorName}
</span> </button>
</p> </p>
)} )}