When we have just rejected an offer and open its information, we see undefined on the rejectedAt date and an empty rejectReason (the variable is also undefined).
After refreshing, this issue does not appear.
If we check the objects that are being accessed to show that information, we can see that the object used just after rejecting the offer differs from the object when the page is reloaded in those fields.
Just after rejecting without reloading (undefined problem)
When we have just rejected an offer and open its information, we see undefined on the
rejectedAt
date and an emptyrejectReason
(the variable is also undefined). After refreshing, this issue does not appear.If we check the objects that are being accessed to show that information, we can see that the object used just after rejecting the offer differs from the object when the page is reloaded in those fields.