Merged in fix/preload-restaurant-links-off (pull request #3442)

Fix/preload restaurant links off

* fix(restaurantlinks): disable prefetch

* fix(restaurantlinks): disable prefetch
This commit is contained in:
Linus Flood
2026-01-15 09:17:35 +00:00
parent 7ee1499e8b
commit c61ddaf94d
2 changed files with 2 additions and 1 deletions

View File

@@ -30,6 +30,7 @@ export function RestaurantBarItemLinks({
color="Primary"
size="md"
href={bookTableUrl}
prefetch={false}
target="_blank"
onClick={() => trackClick("book a table", { restaurantName })}
fullWidth

View File

@@ -81,7 +81,7 @@ export default async function RestaurantBarItem({
<ul className={styles.menuList}>
{menus.map(({ name, url }) => (
<li key={name}>
<TextLink href={url} target="_blank">
<TextLink href={url} target="_blank" prefetch={false}>
{name}
<MaterialIcon
icon="open_in_new"