summaryrefslogtreecommitdiffstats
path: root/src/components/PostsList/PostsList.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/PostsList/PostsList.tsx')
-rw-r--r--src/components/PostsList/PostsList.tsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/components/PostsList/PostsList.tsx b/src/components/PostsList/PostsList.tsx
index 16deee3..b57630e 100644
--- a/src/components/PostsList/PostsList.tsx
+++ b/src/components/PostsList/PostsList.tsx
@@ -50,7 +50,11 @@ const PostsList = (
<li className={styles.item}>
<PostPreview post={post} titleLevel={titleLevel} />
</li>
- {isLastPost && <span ref={ref} tabIndex={-1} />}
+ {isLastPost && (
+ <li className={styles.item}>
+ <span ref={ref} tabIndex={-1} />
+ </li>
+ )}
</Fragment>
);
})}