Skip to content

Commit

Permalink
fix: update react wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
luwes committed May 9, 2024
1 parent 6069b99 commit f8b259e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/release-please/.release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"examples/nextjs": "0.1.2",
"scripts/build-react-wrapper": "0.1.1",
"scripts/build-react-wrapper": "0.1.0",
"packages/castable-video": "1.0.7",
"packages/cloudflare-video-element": "1.1.0",
"packages/custom-media-element": "1.3.0",
Expand Down
2 changes: 1 addition & 1 deletion scripts/build-react-wrapper/templates/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default React.forwardRef(({ children, ...props }, ref) => {
}
}

// Only render the custom element template HTML on the server.
// Only render the custom element template HTML on the server..
// The custom element will render itself on the client.
if (typeof window === 'undefined' && Element?.getTemplateHTML && Element?.shadowRootOptions) {
const { mode, delegatesFocus } = Element.shadowRootOptions;
Expand Down

0 comments on commit f8b259e

Please sign in to comment.