mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-11 13:56:16 +00:00
chore: remove redundancy in list semantic markup
This commit is contained in:
@@ -204,13 +204,12 @@ function AchievementList({ achievements }: AchievementListProps) {
|
||||
const { formatDateTime } = useDate();
|
||||
|
||||
return (
|
||||
<ul className={styles.list} role="list">
|
||||
<ul className={styles.list}>
|
||||
{achievements.map((achievement, index) => (
|
||||
<li
|
||||
key={index}
|
||||
className={styles.listItem}
|
||||
style={{ display: "flex" }}
|
||||
role="listitem"
|
||||
aria-label={ariaLabelAchievement(t, achievement)}
|
||||
>
|
||||
<img
|
||||
|
||||
Reference in New Issue
Block a user