redirection fixed on edit profile
This commit is contained in:
parent
7e11d79060
commit
fce67c8e02
@ -617,7 +617,7 @@ const EditCompanyProfile = () => {
|
||||
};
|
||||
if (establishmentId) {
|
||||
await updateEstablishment(establishmentId, establishmentData);
|
||||
navigate('/survey');
|
||||
navigate('/dashboard');
|
||||
} else {
|
||||
console.error("No establishment ID provided for update");
|
||||
alert("Error: No establishment ID provided for update");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user