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" color="Primary"
size="md" size="md"
href={bookTableUrl} href={bookTableUrl}
prefetch={false}
target="_blank" target="_blank"
onClick={() => trackClick("book a table", { restaurantName })} onClick={() => trackClick("book a table", { restaurantName })}
fullWidth fullWidth

View File

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