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"
|
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
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user