decord/source/modules/activities/native/useIsViewingActivity.tsx
2026-07-24 07:16:23 +00:00

28 lines
981 B
TypeScript

// Module ID: 10575
// Function ID: 82579
// Name: useIsViewingActivity
// Dependencies: [4143, 10560, 3981, 10557, 566, 2]
// Exports: useIsViewingActivity
// Module 10575 (useIsViewingActivity)
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
const require = arg1;
const result = require("_createForOfIteratorHelperLoose").fileFinishedImporting("modules/activities/native/useIsViewingActivity.tsx");
export const useIsViewingActivity = function useIsViewingActivity(channelId) {
channelId = channelId.channelId;
let tmp = importDefault(10560)(channelId);
const isModalOpen = channelId(3981).useIsModalOpen(importDefault(10557));
const obj = channelId(3981);
const items = [_isNativeReflectConstruct];
const items1 = [channelId];
const stateFromStores = channelId(566).useStateFromStores(items, () => outer1_3.getChatOpen(channelId), items1);
if (tmp) {
tmp = isModalOpen;
}
if (tmp) {
tmp = !stateFromStores;
}
return tmp;
};