mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
chore: remove redundancy in list semantic markup
This commit is contained in:
parent
50303251a2
commit
3ff15d2d61
1 changed files with 1 additions and 2 deletions
|
@ -204,13 +204,12 @@ function AchievementList({ achievements }: AchievementListProps) {
|
||||||
const { formatDateTime } = useDate();
|
const { formatDateTime } = useDate();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ul className={styles.list} role="list">
|
<ul className={styles.list}>
|
||||||
{achievements.map((achievement, index) => (
|
{achievements.map((achievement, index) => (
|
||||||
<li
|
<li
|
||||||
key={index}
|
key={index}
|
||||||
className={styles.listItem}
|
className={styles.listItem}
|
||||||
style={{ display: "flex" }}
|
style={{ display: "flex" }}
|
||||||
role="listitem"
|
|
||||||
aria-label={ariaLabelAchievement(t, achievement)}
|
aria-label={ariaLabelAchievement(t, achievement)}
|
||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue