mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
use article instead of div (#1507)
This commit is contained in:
@@ -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>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user