decord/source/modules/main_tabs_v2/useRecentlyActiveChannelsEnabled.tsx

19 lines
781 B
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 5298
// Function ID: 5299
2026-07-20 16:05:17 +00:00
// Name: isRecentlyActiveChannelsEnabled
2026-08-24 06:08:38 +00:00
// Dependencies: [5299, 5300, 2]
2026-07-20 16:05:17 +00:00
// Exports: isRecentlyActiveChannelsEnabled, useRecentlyActiveChannelsEnabled
2026-08-24 06:08:38 +00:00
// Module 5298 (isRecentlyActiveChannelsEnabled)
import useDesignToggleDefault from "useDesignToggle" /* 5300 */;
import closure_2 from "getUserAgnosticState" /* 5299 */;
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
};