use article instead of div (#1507)

This commit is contained in:
Athou
2024-08-03 11:34:36 +02:00
parent a071b7c265
commit 9d9d758fa6

View File

@@ -305,7 +305,7 @@ export function FeedEntries() {
loader={<Box key={0}>{loading && <Loader />}</Box>} loader={<Box key={0}>{loading && <Loader />}</Box>}
> >
{entries.map(entry => ( {entries.map(entry => (
<div <article
key={entry.id} key={entry.id}
ref={el => { ref={el => {
if (el) el.id = Constants.dom.entryId(entry) if (el) el.id = Constants.dom.entryId(entry)
@@ -322,7 +322,7 @@ export function FeedEntries() {
onBodyClick={() => bodyClicked(entry)} onBodyClick={() => bodyClicked(entry)}
onSwipedLeft={async () => await swipedLeft(entry)} onSwipedLeft={async () => await swipedLeft(entry)}
/> />
</div> </article>
))} ))}
</InfiniteScroll> </InfiniteScroll>
) )