decord/source/modules/changelog/useChangelogIdFromChannel.tsx
github-actions ecf26fc058 chore: update source for alpha 347.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
2026-09-16 07:03:15 +00:00

25 lines
753 B
TypeScript

// Module ID: 12581
// Function ID: 12582
// Name: useChangelogIdFromChannel
// Dependencies: [4859, 504, 2]
// Exports: default
// Module 12581 (useChangelogIdFromChannel)
import MessageStore from "MessageStore" /* 4859 */;
const require = globalThis.__r;
const require = fn;
const size = fn(2);
const result = size.fileFinishedImporting("modules/changelog/useChangelogIdFromChannel.tsx");
export default function useChangelogIdFromChannel(arg0) {
_require = arg0;
const items = [MessageStore];
const stateFromStores = require("initialize").useStateFromStores(items, () => MessageStore.getLastMessage(closure_0));
let changelogId;
if (stateFromStores != null) {
changelogId = stateFromStores.changelogId;
}
return changelogId;
};