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:
@@ -30,6 +30,7 @@ export function RestaurantBarItemLinks({
|
||||
color="Primary"
|
||||
size="md"
|
||||
href={bookTableUrl}
|
||||
prefetch={false}
|
||||
target="_blank"
|
||||
onClick={() => trackClick("book a table", { restaurantName })}
|
||||
fullWidth
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user