decord/source/modules/notification_center/NotificationCenterStoreActions.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

23 lines
864 B
TypeScript

// Module ID: 16416
// Function ID: 16417
// Name: setTab
// Dependencies: [573, 2]
// Exports: clearNotificationGuildMentions, refreshNotifications, setTab
// Module 16416 (setTab)
import set from "set" /* 2 */;
import dispatcherDefault from "dispatcher" /* 573 */;
const result = set.fileFinishedImporting("modules/notification_center/NotificationCenterStoreActions.tsx");
export const setTab = function setTab(BROWSE) {
let obj = dispatcherDefault;
obj = { type: "NOTIFICATION_CENTER_SET_TAB", tab: BROWSE };
obj.dispatch(obj);
};
export const clearNotificationGuildMentions = function clearNotificationGuildMentions() {
dispatcherDefault.dispatch({ type: "NOTIFICATION_CENTER_CLEAR_GUILD_MENTIONS" });
};
export const refreshNotifications = function refreshNotifications() {
dispatcherDefault.dispatch({ type: "NOTIFICATION_CENTER_REFRESH" });
};