changed the path from / to /40+
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user