Skip to content

Commit

Permalink
fix: flag preheader
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoferreiradev committed Nov 6, 2024
1 parent dcceca7 commit 4cc6421
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion sections/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,11 @@ const Mobile = (
aside={
<Drawer.AsideHeaderMenu
header={url && (
<Preheader url={new URL(url)} alerts={preheader.alerts ?? []} />
<Preheader
url={new URL(url)}
alerts={preheader.alerts ?? []}
langs={preheader.langs}
/>
)}
drawer={SIDEMENU_DRAWER_ID}
>
Expand Down Expand Up @@ -329,6 +333,7 @@ export default function Header(props: ReturnType<typeof loader>) {
<Preheader
url={new URL(props.url)}
alerts={props.preheader.alerts ?? []}
langs={props.preheader.langs}
/>
)}
</div>
Expand Down

0 comments on commit 4cc6421

Please sign in to comment.