decord/source/modules/changelog/useChangelogIdFromChannel.tsx

23 lines
709 B
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 11655
// Function ID: 11656
2026-07-20 16:05:17 +00:00
// Name: useChangelogIdFromChannel
2026-08-24 06:08:38 +00:00
// Dependencies: [4999, 589, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-24 06:08:38 +00:00
// Module 11655 (useChangelogIdFromChannel)
import closure_2 from "reinjectEphemerals" /* 4999 */;
2026-07-23 10:11:24 +00:00
const require = arg1;
const result = require("set").fileFinishedImporting("modules/changelog/useChangelogIdFromChannel.tsx");
2026-07-20 16:05:17 +00:00
export default function useChangelogIdFromChannel(arg0) {
2026-07-23 10:11:24 +00:00
const _require = arg0;
2026-08-24 06:08:38 +00:00
const items = [closure_2];
const stateFromStores = _require(589).useStateFromStores(items, () => closure_1_2.getLastMessage(closure_0));
2026-07-20 16:05:17 +00:00
let changelogId;
2026-07-29 08:29:29 +00:00
if (stateFromStores != null) {
2026-07-20 16:05:17 +00:00
changelogId = stateFromStores.changelogId;
}
return changelogId;
};