-
-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<HydraAdmin/> page remain empty despite successful XHR requests #557
Comments
App.js version Hydra import React from 'react'; const entrypoint = 'http://sf4.local/api/v1'; // Configure the httpClient for use with fetchHydra // Use the fetchHydra function provided by @api-platform/admin to adapt the httpClient for Hydra console.log(typeof httpClient); // Should output 'function' const dataProvider = hydraDataProvider({ export default () => this app.js react app HydraAdmin version is presenting a strange error over the login or resources screen |
Same app.js but with react admin does not! import React from 'react'; const entrypoint = 'http://sf4.local/api/v1'; const httpClient = (url, options = {}) => { const dataProvider = jsonServerProvider(entrypoint, httpClient) export default () => |
API Platform version(s) affected: 3.3.3
Description
Why does my page remain empty despite successful XHR requests?
Hello everyone again,
I'm working with a page that successfully fetches data according to XHR logs.
Here's the relevant part of my @context:
Despite this, the page remains blank. Adding and under redirects me to /book, but still displays nothing.
For reference, I'm trying to achieve a similar functionality as seen in the API Platform demo: API Platform Admin Demo
Why are the resources not displayed, and how can I troubleshoot or fix this issue to see the data tables like in the demo?
How to reproduce
Possible Solution
Additional Context
same issue is happening for me with api platform 2.7.18...
The text was updated successfully, but these errors were encountered: