Files
discord-decomp/stores/ChannelSKUStore.tsx
T
2026-11-01 12:12:55 +02:00

22 lines
642 B
TypeScript

// Metro module 12797 (f12798).
import Module589 from "../_bundle/Module589";
import Dispatcher from "../Dispatcher";
let c8824_0 = {};
class ChannelSKUStore extends Module589.Store {
static displayName = "ChannelSKUStore";
getSkuIdForChannel(a0) {
return c8824_0[a0];
}
}
const channelSKUStore = new ChannelSKUStore(Dispatcher, {
CONNECTION_OPEN: function handleConnectionOpen() {
c8824_0 = {};
},
STORE_LISTING_FETCH_SUCCESS: function handleStoreListingFetchSuccess({ channelId, storeListing }) {
if (channelId != null) {
c8824_0[channelId] = storeListing.sku.id;
}
}
});
export default channelSKUStore;