LoadAnnouncements
Function: loadAnnouncements()
[object Object]
Defined in: app/routes/announcements/announcements.handlers.tsx:26
Fetches the list of all announcements from the API.
This handler ensures that requests are only made when the application is properly initialized and the user is authenticated. It handles the loading state and provides visual feedback via toasts if an error occurs.
Parameters
args
[object Object]
Configuration and state setter functions.
Returns
Promise<void>