mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-09 03:37:45 +03:00
refactor: convert theme author span to button
This commit is contained in:
parent
b56fc4d888
commit
1fe6abb241
@ -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…
Reference in New Issue
Block a user