diff --git a/app/(home-pages)/discover/SortedPublicationList.tsx b/app/(home-pages)/discover/SortedPublicationList.tsx index 9641f29f..dee6e495 100644 --- a/app/(home-pages)/discover/SortedPublicationList.tsx +++ b/app/(home-pages)/discover/SortedPublicationList.tsx @@ -81,12 +81,7 @@ const SortButton = (props: {
diff --git a/app/(home-pages)/discover/page.tsx b/app/(home-pages)/discover/page.tsx index 9db03e03..a2650338 100644 --- a/app/(home-pages)/discover/page.tsx +++ b/app/(home-pages)/discover/page.tsx @@ -34,7 +34,6 @@ export default async function Discover(props: { searchParams: Promise<{ [key: string]: string | string[] | undefined }>; }) { let order = ((await props.searchParams).order as string) || "recentlyUpdated"; - let publications = await getPublications(); return (