diff --git a/app/components/Feed.tsx b/app/components/Feed.tsx index 1b1a463..387d68f 100644 --- a/app/components/Feed.tsx +++ b/app/components/Feed.tsx @@ -4,7 +4,7 @@ import { formatDate } from "@/utils"; import * as ScrollArea from "@radix-ui/react-scroll-area"; import { useEffect, useState } from "react"; import { Article } from "@/lib/prisma"; -import { useFetcher } from "@remix-run/react"; +import { Link, useFetcher } from "@remix-run/react"; const Feed = ({ className, @@ -112,7 +112,7 @@ const Feed = ({ {formatDate(item.createdAt)}
- {item.title} + {item.title}
); diff --git a/app/routes/search.tsx b/app/routes/search.tsx index eac504c..25f3117 100644 --- a/app/routes/search.tsx +++ b/app/routes/search.tsx @@ -55,7 +55,10 @@ const Page = () => { {formatDate(item.timestamp)} -