22 lines
709 B
TypeScript
22 lines
709 B
TypeScript
// Module ID: 12442
|
|
// Function ID: 12443
|
|
// Name: useChangelogIdFromChannel
|
|
// Dependencies: [4781, 504, 2]
|
|
// Exports: default
|
|
|
|
// Module 12442 (useChangelogIdFromChannel)
|
|
import closure_2 from "reinjectEphemerals" /* 4781 */;
|
|
|
|
const require = arg1;
|
|
const result = require("set").fileFinishedImporting("modules/changelog/useChangelogIdFromChannel.tsx");
|
|
|
|
export default function useChangelogIdFromChannel(arg0) {
|
|
const _require = arg0;
|
|
const items = [closure_2];
|
|
const stateFromStores = _require(504).useStateFromStores(items, () => closure_1_2.getLastMessage(closure_0));
|
|
let changelogId;
|
|
if (stateFromStores != null) {
|
|
changelogId = stateFromStores.changelogId;
|
|
}
|
|
return changelogId;
|
|
};
|