Skip to content

Commit

Permalink
fix: article header cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennecl committed Mar 12, 2024
1 parent e98c463 commit 91f36ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
7 changes: 1 addition & 6 deletions src/app/[locale]/search/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,7 @@ import { QuestionsResult } from '@/components/questions';
import { SearchProvider } from '@/components/search-provider';
import { SearchBox } from '@/components/searchbox';

export default async function Search({
searchParams,
}: {
params: { locale: string };
searchParams: { [key: string]: string | string[] | undefined };
}) {
export default async function Search() {
return (
<SearchProvider>
<div className="min-w-96 flex-grow">
Expand Down
4 changes: 1 addition & 3 deletions src/components/article-drawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ export const ArticleDrawer = () => {
<div className="relative">
<header className="absolute left-0 z-40 h-[48px] w-full border-b bg-background px-4 py-2">
<div className=" flex flex-nowrap justify-between gap-1 align-middle">
<span className="text-sm font-medium text-gray-700">
Elsevier - 2024-01-03
</span>
<span className="text-sm font-medium text-gray-700"></span>
<Button
variant="link"
size="icon"
Expand Down

0 comments on commit 91f36ca

Please sign in to comment.