decord/source/modules/main_tabs_v2/useRecentlyActiveChannelsEnabled.tsx

19 lines
781 B
TypeScript
Raw Normal View History

// Module ID: 7536
// Function ID: 7537
2026-07-20 16:05:17 +00:00
// Name: isRecentlyActiveChannelsEnabled
// Dependencies: [5627, 5626, 2]
2026-07-20 16:05:17 +00:00
// Exports: isRecentlyActiveChannelsEnabled, useRecentlyActiveChannelsEnabled
// Module 7536 (isRecentlyActiveChannelsEnabled)
import useDesignToggleDefault from "useDesignToggle" /* 5626 */;
import closure_2 from "getUserAgnosticState" /* 5627 */;
2026-07-23 10:11:24 +00:00
const result = require("set").fileFinishedImporting("modules/main_tabs_v2/useRecentlyActiveChannelsEnabled.tsx");
2026-07-20 16:05:17 +00:00
export const isRecentlyActiveChannelsEnabled = function isRecentlyActiveChannelsEnabled() {
2026-08-24 06:08:38 +00:00
return closure_2.get("enable_recently_active");
2026-07-20 16:05:17 +00:00
};
export const useRecentlyActiveChannelsEnabled = function useRecentlyActiveChannelsEnabled() {
2026-08-24 06:08:38 +00:00
return useDesignToggleDefault("enable_recently_active");
2026-07-20 16:05:17 +00:00
};