Skip to content

Commit 76b4e55

Browse files
ematipicoastrobot-houston
authored andcommitted
[ci] format
1 parent 7eb9fe8 commit 76b4e55

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/integrations/react/server.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ async function check(Component, props, children) {
2424
if (typeof Component !== 'function') return false;
2525

2626
// Preact forwarded-ref components can be functions, which React does not support
27-
if (typeof Component === 'function' && Component['$$typeof'] === Symbol.for('react.forward_ref')) return false;
27+
if (typeof Component === 'function' && Component['$$typeof'] === Symbol.for('react.forward_ref'))
28+
return false;
2829

2930
if (Component.prototype != null && typeof Component.prototype.render === 'function') {
3031
return React.Component.isPrototypeOf(Component) || React.PureComponent.isPrototypeOf(Component);

0 commit comments

Comments
 (0)