decord/source/modules/changelog/useChangelogIdFromChannel.tsx
github-actions da5b5e5efe chore: update source for alpha 346.6
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-12 13:45:10 +00:00

25 lines
753 B
TypeScript

// Module ID: 12567
// Function ID: 12568
// Name: useChangelogIdFromChannel
// Dependencies: [4857, 504, 2]
// Exports: default
// Module 12567 (useChangelogIdFromChannel)
import MessageStore from "MessageStore" /* 4857 */;
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;
};