decord/source/modules/collectibles/hooks/useShouldShowPremiumProfileFrameCTA.tsx

21 lines
706 B
TypeScript
Raw Normal View History

2026-07-27 11:26:19 +00:00
// Module ID: 11844
// Function ID: 91823
2026-07-20 16:05:17 +00:00
// Name: useShouldShowPremiumProfileFrameCTA
2026-07-27 11:26:19 +00:00
// Dependencies: [11845, 8632, 1877, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-27 11:26:19 +00:00
// Module 11844 (useShouldShowPremiumProfileFrameCTA)
2026-07-23 10:11:24 +00:00
const result = require("CollectiblesItemType").fileFinishedImporting("modules/collectibles/hooks/useShouldShowPremiumProfileFrameCTA.tsx");
2026-07-20 16:05:17 +00:00
export default function useShouldShowPremiumProfileFrameCTA(location) {
const _location = location.location;
2026-07-27 11:26:19 +00:00
let tmp = importDefault(11845)(_location);
2026-07-20 16:05:17 +00:00
if (tmp) {
2026-07-25 08:10:48 +00:00
tmp = !importDefault(8632)(_location);
2026-07-20 16:05:17 +00:00
}
if (tmp) {
2026-07-25 08:10:48 +00:00
tmp = location.product.type === require(1877) /* CollectiblesItemType */.CollectiblesItemType.PROFILE_FRAME;
2026-07-20 16:05:17 +00:00
}
return tmp;
};