Skip to content

Commit

Permalink
fix: access cdn global name correctly in canary
Browse files Browse the repository at this point in the history
  • Loading branch information
ZipingL committed Jun 6, 2024
1 parent 97b1b2d commit fa38a31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion canary/routes/CDN.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default function CDN() {


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

return (
<section className="container section">
Expand Down

0 comments on commit fa38a31

Please sign in to comment.