23 lines
864 B
TypeScript
23 lines
864 B
TypeScript
// Module ID: 15969
|
|
// Function ID: 15970
|
|
// Name: setTab
|
|
// Dependencies: [709, 2]
|
|
// Exports: clearNotificationGuildMentions, refreshNotifications, setTab
|
|
|
|
// Module 15969 (setTab)
|
|
import set from "set" /* 2 */;
|
|
import dispatcherDefault from "dispatcher" /* 709 */;
|
|
|
|
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" });
|
|
};
|