decord/alpha/source/modules/changelog/useChangelogIdFromChannel.tsx
github-actions e160b228c5 chore: update source for alpha 348.1
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4942.js (118.4 MB)
2026-09-22 07:41:18 +00:00

25 lines
753 B
TypeScript

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