mirror of
https://github.com/rgrgogu/new_starr.git
synced 2026-09-27 00:12:54 +08:00
assets and tier plans revamp
This commit is contained in:
@@ -140,7 +140,14 @@ const UnitDetails = () => {
|
||||
|
||||
// ── Deep-link to a locked unit — inline blocked panel, not a redirect ────
|
||||
if (unitBlocked) {
|
||||
return <LockedContentPanel course={unitBlockedInfo?.course} tierMap={tierMap} />;
|
||||
return (
|
||||
<LockedContentPanel
|
||||
course={unitBlockedInfo?.course}
|
||||
item={unitBlockedInfo?.item}
|
||||
tierMap={tierMap}
|
||||
checkoutPath={unitBlockedInfo?.item?.uuid ? `/units/${unitBlockedInfo.item.uuid}/checkout` : null}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
if (unitDetailLoading) {
|
||||
|
||||
Reference in New Issue
Block a user