changed the path from / to /40+

This commit is contained in:
2025-11-11 11:24:15 +08:00
parent 9f68f445b9
commit aa4dde3d19

View File

@@ -13,7 +13,7 @@ function OilInfo() {
const { location } = useRouterState(); const { location } = useRouterState();
const handleRecipeNavigation = () => { const handleRecipeNavigation = () => {
const isOnRecipePage = location.pathname === '/recipe'; const isOnRecipePage = location.pathname === '/40+/recipe';
if (isOnRecipePage) { if (isOnRecipePage) {
// Already on recipe page // Already on recipe page
@@ -21,7 +21,7 @@ function OilInfo() {
} }
// Navigate from main page - force reload to ensure Instagram embeds work // Navigate from main page - force reload to ensure Instagram embeds work
window.location.href = '/recipe'; window.location.href = '/40+/recipe';
}; };
return ( return (