22 lines
713 B
TypeScript
22 lines
713 B
TypeScript
// Module ID: 11683
|
|
// Function ID: 11684
|
|
// Name: useChangelogIdFromChannel
|
|
// Dependencies: [4472, 589, 2]
|
|
// Exports: default
|
|
|
|
// Module 11683 (useChangelogIdFromChannel)
|
|
import reinjectEphemerals from "reinjectEphemerals";
|
|
|
|
const require = arg1;
|
|
const result = require("set").fileFinishedImporting("modules/changelog/useChangelogIdFromChannel.tsx");
|
|
|
|
export default function useChangelogIdFromChannel(arg0) {
|
|
const _require = arg0;
|
|
const items = [reinjectEphemerals];
|
|
const stateFromStores = _require(589).useStateFromStores(items, () => outer1_2.getLastMessage(closure_0));
|
|
let changelogId;
|
|
if (stateFromStores != null) {
|
|
changelogId = stateFromStores.changelogId;
|
|
}
|
|
return changelogId;
|
|
};
|