decord/source/modules/notification_center/NotificationCenterStoreActions.tsx
github-actions 7450227d0b chore: update source for alpha 345.4
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9596_m.js (380.6 MB)
2026-09-04 17:41:35 +00:00

23 lines
864 B
TypeScript

// Module ID: 16340
// Function ID: 16341
// Name: setTab
// Dependencies: [706, 2]
// Exports: clearNotificationGuildMentions, refreshNotifications, setTab
// Module 16340 (setTab)
import set from "set" /* 2 */;
import dispatcherDefault from "dispatcher" /* 706 */;
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" });
};