Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
2 answers
353 views

react-admin not working if it is in other component and not app.js

I'm trying to integrate React-Admin AdminDashboard component into a larger React application that uses React-Router for navigation. However, I'm encountering issues where AdminDashboard doesn't render ...
husam saleh's user avatar
0 votes
2 answers
416 views

Issue with useNavigate() Hook in Custom React-Admin Application

I'm facing a challenging issue in my React-Admin application. When I try to use the useNavigate() hook within my custom login component (MyLoginPage), I'm getting the following error: [Route] is not a ...
Janus's user avatar
  • 715
0 votes
1 answer
742 views

How to create react-admin custom route?

I tried to create a custom route in my react-admin app, but I get an error when I try to load it. Here is the code: // src/pages/MyAdmin.tsx export const MyAdmin = () => ( <Admin ...
Martin Ruzek's user avatar
0 votes
1 answer
4k views

nginx + react static build path can't be accessed on direct url hit

I'm trying to deploy a static build of my create-react-app using nginx. I've added homepage: "." as that is required. And the final output is quite fine, except I can't access some URL ...
Maifee Ul Asad's user avatar
0 votes
1 answer
2k views

I'm using react-admin framework where on login the page doesn't redirect to the lists page

instead it shows this on the console. Warning: Hash history cannot PUSH the same path; a new entry will not be added to the history stack The redirect is not working after successful login. Sometimes ...
Aman Chopra's user avatar