i was unable to navigate into the route
06:46 22 Jan 2026

"kindly review my navigation stack and check whther i am falling behind for navigation"






position="top-right"
reverseOrder={false}
toastOptions={{
duration: 3000,
style: {
fontSize: "14px",
padding: "12px 16px",
},
}}
/>

{/* Public/Auth routes */}
}>
} />
} />
} />
} />





} />





} />


element={




}
>
} />
} />
} />
} />
} />
} />
} />

} />
} />
} />
} />
} />
} />
} />
{/* } /> */}






this is my main root route stack but when i tried to navigate to route /campaign/new i want not able to do so
const handleClick = () => {
console.log("hii")
navigate('/campaign/new');
}; console gets printed but navigation is not done "react": "^18.3.1",

this is the version of react-router-dom i am using
"react-router-dom": "^7.9.1",

reactjs frontend