diff --git a/src/components/new_ui/oilInfo.tsx b/src/components/new_ui/oilInfo.tsx index ca9000b..6e4932c 100644 --- a/src/components/new_ui/oilInfo.tsx +++ b/src/components/new_ui/oilInfo.tsx @@ -13,7 +13,7 @@ function OilInfo() { const { location } = useRouterState(); const handleRecipeNavigation = () => { - const isOnRecipePage = location.pathname === '/recipe'; + const isOnRecipePage = location.pathname === '/40+/recipe'; if (isOnRecipePage) { // Already on recipe page @@ -21,7 +21,7 @@ function OilInfo() { } // Navigate from main page - force reload to ensure Instagram embeds work - window.location.href = '/recipe'; + window.location.href = '/40+/recipe'; }; return (