fix: validation for header
This commit is contained in:
@@ -71,8 +71,8 @@ export default function MobileMenu({
|
||||
<SearchIcon width={20} height={20} color="burgundy" />
|
||||
{intl.formatMessage({ id: "Find booking" })}
|
||||
</HeaderLink>
|
||||
{topLink ? (
|
||||
<HeaderLink href={topLink.href}>
|
||||
{topLink.link ? (
|
||||
<HeaderLink href={topLink.link.url}>
|
||||
<GiftIcon width={20} height={20} color="burgundy" />
|
||||
{topLink.title}
|
||||
</HeaderLink>
|
||||
|
||||
Reference in New Issue
Block a user