question
Hello, I've a question, when i submit login the redirect doesn't work and still on.same page !

useForm redirect property: By default, after a successful mutation, useForm will redirect to the "list" page. To redirect to a different page, you can either use the redirect function to programmatically specify the destination, or set the redirect property in the hook's options. Here is an example of how to do it:authProvider check method: If you're using async code in your authProvider check method, it might be causing issues with the redirect. There's a known issue where the user is redirected to the first resource defined on the refined resources instead of the custom redirect path specified in the login method. This is caused because an API call is made to verify if the JWT is valid within the check method, which is automatically executed after login. If this is the case, you might want to adjust your check method. (Source: Github Issue (https://github.com/refinedev/refine/issues/4782))routerProvider defined in your <Refine> component along with the proper resource definition with routes and actions. (Source: Refine Documentation (https://refine.dev/docs/data/hooks/use-form#redirect-))const {
refineCore: { onFinish, redirect },
} = useForm();
const handleSubmit = async (e: React.FormEvent<HTMLFormElement>) => {
e.preventDefault();
const data = await onFinish(formValues);
redirect("show", data?.data?.id);
};