mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
refactor: convert theme author span to button
This commit is contained in:
parent
b56fc4d888
commit
1fe6abb241
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue