decord/source/modules/notification_center/NotificationCenterStoreActions.tsx
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

23 lines
864 B
TypeScript

// Module ID: 16419
// Function ID: 16420
// Name: setTab
// Dependencies: [573, 2]
// Exports: clearNotificationGuildMentions, refreshNotifications, setTab
// Module 16419 (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" });
};