From 3e31f98d0f6eed2d30db18ed8fff5774d00a3a00 Mon Sep 17 00:00:00 2001 From: Nick Sandstrom <32273437+nick4810@users.noreply.github.com> Date: Mon, 2 Mar 2026 23:23:11 -0800 Subject: [PATCH] Extracted NotificationCenterUtils --- .../src/utils/components/NotificationCenterUtils.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 frontend/src/utils/components/NotificationCenterUtils.js diff --git a/frontend/src/utils/components/NotificationCenterUtils.js b/frontend/src/utils/components/NotificationCenterUtils.js new file mode 100644 index 00000000..a253c0d3 --- /dev/null +++ b/frontend/src/utils/components/NotificationCenterUtils.js @@ -0,0 +1,11 @@ +import API from '../../api.js'; + +export const getNotifications = (showDismissed) => { + return API.getNotifications(showDismissed); +}; +export const dismissNotification = (notificationId, actionTaken) => { + return API.dismissNotification(notificationId, actionTaken); +}; +export const dismissAllNotifications = () => { + return API.dismissAllNotifications(); +}; \ No newline at end of file