This branch is a secondary branch from display-and-edit-jobs:
master -> development -> display-and-edit-jobs -> single-job-loading
The purpose of this branch is to address an issue where the single job page would render the components before data has been fetched from the API, resulting in the browser displaying incorrect job details.
This has now been fixed by adding a loaded boolean to the reducer preventing component mount, which is not updated until data has been returned from the API.
Since all changes on display-and-edit-jobs will be reviewed before merge into development, this PR does not require approval.
This branch is a secondary branch from
display-and-edit-jobs
:master
->development
->display-and-edit-jobs
->single-job-loading
The purpose of this branch is to address an issue where the single job page would render the components before data has been fetched from the API, resulting in the browser displaying incorrect job details.
This has now been fixed by adding a
loaded
boolean to the reducer preventing component mount, which is not updated until data has been returned from the API.Since all changes on
display-and-edit-jobs
will be reviewed before merge intodevelopment
, this PR does not require approval.