Please help, I want to redirect the page, if user is clicking on the notification which he is receiving form the firebase.
For Example: I want to call about us page, when user click on notification. I can not see the URL is changing.
Current URL: myapp.local
Redirect URL: I tried this "myapp.local/AboutUs but not working.
Here is my Router.
import LoginPage from "./../pages/login.jsx"; import AboutUS from "./../pages/AboutUs.jsx"; var routes = [ { path: "/", component: LoginPage, options: { props: { user: "", }, }, }, { name: "LoginPage", path: "/login/:id/:msg", component: LoginPage, }, { name: "AboutUS", path: "/aboutUS/:id", component: AboutUS, }, { path: "(.*)", component: NotFoundPage, }, ]; export default routes;