create-treble-app
Advanced tools
Comparing version 0.0.21 to 0.0.22
{ | ||
"name": "create-treble-app", | ||
"version": "0.0.21", | ||
"version": "0.0.22", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -7,4 +7,4 @@ import { useEffect, useRef } from 'react'; | ||
export default function Player(props) { | ||
const portalPlayerTo = usePlayerPortal(); | ||
const hasMoved = useRef(false); | ||
const [portalPlayerTo, portalBack] = usePlayerPortal(); | ||
@@ -16,2 +16,6 @@ useEffect(() => { | ||
} | ||
return () => { | ||
if (portalBack) portalBack(); | ||
}; | ||
}); | ||
@@ -18,0 +22,0 @@ |
@@ -9,3 +9,5 @@ import { | ||
const products = { 'product-identifier': { preview: '%ASSET_ID%' } }; | ||
const products = { | ||
'product-identifier': { preview: { assetId: '%ASSET_ID%' } }, | ||
}; | ||
@@ -12,0 +14,0 @@ export default function Product() { |
@@ -15,10 +15,12 @@ export default { | ||
preview: { | ||
assetId: process.env.THREEKIT_PREVIEW_ASSET_ID, | ||
stageId: process.env.THREEKIT_PREVIEW_STAGE_ID, | ||
assetId: undefined, | ||
configurationId: undefined, | ||
stageId: undefined, | ||
}, | ||
'admin-fts': { | ||
assetId: process.env.THREEKIT_ADMIN_FTS_ASSET_ID, | ||
stageId: process.env.THREEKIT_PREVIEW_STAGE_ID, | ||
assetId: undefined, | ||
configurationId: undefined, | ||
stageId: undefined, | ||
}, | ||
}, | ||
}; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
804
42652