Skip to content

Commit

Permalink
Fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
padms committed Jan 14, 2025
1 parent 1940836 commit e08af35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/templates/newsroom/Newsroom.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ const NewsRoomTemplate = forwardRef<HTMLElement, NewsRoomTemplateProps>(function
return (
<PaginationContextProvider defaultRef={resultsRef}>
<Seo seoAndSome={seoAndSome} slug={slug} pageTitle={title} />
<main ref={ref} className="">
<main ref={ref}>
<InstantSearch
searchClient={queriedSearchClient}
future={{ preserveSharedStateOnUnmount: false }}
Expand Down Expand Up @@ -213,7 +213,7 @@ const NewsRoomTemplate = forwardRef<HTMLElement, NewsRoomTemplateProps>(function
<aside className="lg:self-start lg:sticky lg:top-6 flex flex-col gap-4 lg:gap-6 max-lg:px-layout-sm">
{!advancedSearch && (
<Button
onClick={(e) => {
onClick={() => {
setAdvancedSearch(true)
}}
>
Expand Down

0 comments on commit e08af35

Please sign in to comment.