Created by: punitcodes
Description of PR
This PR adds a spinner on Demographics Page while the data is being fetched. Uses the recently introduced Suspense feature of React.
In near future, we can use this data fetching technique on all pages and also add Error Boundaries to show error.
Type of PR
-
Bugfix -
New feature
Relevant Issues Fixes #826 (closed)
Checklist
-
Compiles and passes lint tests -
Properly formatted -
Tested on desktop -
Tested on phone
Screenshot