From 76b4e55894d6b5424260b6ad069d098b2e61e141 Mon Sep 17 00:00:00 2001 From: Ken Powers Date: Mon, 18 Dec 2023 13:42:49 +0000 Subject: [PATCH] [ci] format --- packages/integrations/react/server.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/integrations/react/server.js b/packages/integrations/react/server.js index f1e5fdc24f99..4c1aac9334d4 100644 --- a/packages/integrations/react/server.js +++ b/packages/integrations/react/server.js @@ -24,7 +24,8 @@ async function check(Component, props, children) { if (typeof Component !== 'function') return false; // Preact forwarded-ref components can be functions, which React does not support - if (typeof Component === 'function' && Component['$$typeof'] === Symbol.for('react.forward_ref')) return false; + if (typeof Component === 'function' && Component['$$typeof'] === Symbol.for('react.forward_ref')) + return false; if (Component.prototype != null && typeof Component.prototype.render === 'function') { return React.Component.isPrototypeOf(Component) || React.PureComponent.isPrototypeOf(Component);