aboutsummaryrefslogtreecommitdiff
path: root/packages/integrations/react/server-v17.js
diff options
context:
space:
mode:
authorGravatar Nate Moore <natemoo-re@users.noreply.github.com> 2023-12-20 19:00:58 +0000
committerGravatar astrobot-houston <fred+astrobot@astro.build> 2023-12-20 19:00:58 +0000
commit60dc8da71b40fb080cd77a01ba39c92b7bbef423 (patch)
tree80325ef5b0918e555f6a1a15af13a3a2090ca149 /packages/integrations/react/server-v17.js
parent72b26daf694b213918f02d0fcbf90ab5b7ebc31f (diff)
downloadastro-60dc8da71b40fb080cd77a01ba39c92b7bbef423.tar.gz
astro-60dc8da71b40fb080cd77a01ba39c92b7bbef423.tar.zst
astro-60dc8da71b40fb080cd77a01ba39c92b7bbef423.zip
[ci] format
Diffstat (limited to 'packages/integrations/react/server-v17.js')
-rw-r--r--packages/integrations/react/server-v17.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/integrations/react/server-v17.js b/packages/integrations/react/server-v17.js
index 12e1f198e..ad0c99622 100644
--- a/packages/integrations/react/server-v17.js
+++ b/packages/integrations/react/server-v17.js
@@ -20,7 +20,7 @@ function check(Component, props, children) {
return Component['$$typeof']?.toString().slice('Symbol('.length).startsWith('react');
}
if (typeof Component !== 'function') return false;
- if (Component.name === "QwikComponent") return false;
+ if (Component.name === 'QwikComponent') return false;
if (Component.prototype != null && typeof Component.prototype.render === 'function') {
return React.Component.isPrototypeOf(Component) || React.PureComponent.isPrototypeOf(Component);