diff --git a/components/right-sidebar.tsx b/components/right-sidebar.tsx index 3b0dbfe..084eb52 100644 --- a/components/right-sidebar.tsx +++ b/components/right-sidebar.tsx @@ -2,11 +2,10 @@ import Link from 'next/link'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { faGithub, faMastodon, faLinkedin } from '@fortawesome/free-brands-svg-icons'; import { siteConfig } from '@/lib/config'; -import { getAllPostsSorted, getAllTagsWithCount } from '@/lib/posts'; +import { getAllTagsWithCount } from '@/lib/posts'; import { allPages } from 'contentlayer/generated'; export function RightSidebar() { - const latest = getAllPostsSorted().slice(0, 5); const tags = getAllTagsWithCount().slice(0, 5); const aboutPage = @@ -87,24 +86,6 @@ export function RightSidebar() {
-