When on the API view, create a setInterval to poll for notifications and update the UI accordingly.
When on the API view, create a setInterval to poll for notifications and update the UI accordingly.