Skip to content

Commit fa38a31

Browse files
committed
fix: access cdn global name correctly in canary
1 parent 97b1b2d commit fa38a31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

canary/routes/CDN.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default function CDN() {
2727

2828

2929
(window as any).React = React; // expose React as global since the react-adobe embed cdn expects React to be loaded via cdn as well
30-
const ReactViewAdobe = (window as any).ReactViewAdobe as typeof import('react-adobe-embed').default;
30+
const ReactViewAdobe = (window as any).ReactAdobeEmbed.ReactViewAdobe;
3131

3232
return (
3333
<section className="container section">

0 commit comments

Comments
 (0)