Refine antd Edit

If the api is not present on the server and the edit button is clicked and the user is redirected to the proper page via proper route will id , will the api be called and give the error ?
kapa.ai
kapa.ai298d ago
Hi @jash.s. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- Hmm, I don't know enough to give you a confident answer yet. The extracts provided do not contain information about the behavior of the application when the API is not present on the server and the Edit button is clicked. However, the Edit button in refine is designed to trigger the edit method of useNavigation and then redirect the app to the edit action path of the resource, filling the necessary parameters in the route. If the API is not present on the server, it's likely that an error would occur when trying to access or modify the data. For more details, you may want to refer to the refine's documentation on useNavigation (https://refine.dev/docs/api-reference/core/hooks/navigation/useNavigation/) hook and the EditButton (https://refine.dev/docs/api-reference/components/buttons/edit-button) component. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai298d ago
<@1129363768661516329> kapa.ai is still learning and improving, please let us how it did by reacting below