fix: Membre edition
All checks were successful
Deploy Production Server / if_merged (pull_request) Successful in 10m4s
All checks were successful
Deploy Production Server / if_merged (pull_request) Successful in 10m4s
This commit is contained in:
@@ -33,7 +33,7 @@ export function InformationForm({data}) {
|
||||
toast.success('Profile mis à jours avec succès 🎉');
|
||||
}).catch(e => {
|
||||
console.log(e.response)
|
||||
toast.error('Échec de la mise à jours du profile 😕 (code: ' + e.response.status + ')');
|
||||
toast.error('Échec de la mise à jours du profile 😕 (code: ' + e.response.status + ': ' + e.response.data + ')');
|
||||
}).finally(() => {
|
||||
if (setLoading)
|
||||
setLoading(0)
|
||||
@@ -74,4 +74,4 @@ export function InformationForm({data}) {
|
||||
</div>
|
||||
</div>
|
||||
</form>;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ function Form() {
|
||||
navigate(`/club/member/${data.data}`)
|
||||
}).catch(e => {
|
||||
console.log(e.response)
|
||||
toast.error('Échec de la création du profile 😕 (code: ' + e.response.status + ')');
|
||||
toast.error('Échec de la création du profile 😕 (code: ' + e.response.status + ': ' + e.response.data + ')');
|
||||
}).finally(() => {
|
||||
if (setLoading)
|
||||
setLoading(0)
|
||||
|
||||
Reference in New Issue
Block a user