diff --git a/projects/js-packages/publicize-components/src/components/form/unsupported-connections-notice.tsx b/projects/js-packages/publicize-components/src/components/form/unsupported-connections-notice.tsx index 6aa2976638bd4..778db75f9b53f 100644 --- a/projects/js-packages/publicize-components/src/components/form/unsupported-connections-notice.tsx +++ b/projects/js-packages/publicize-components/src/components/form/unsupported-connections-notice.tsx @@ -13,9 +13,10 @@ export const UnsupportedConnectionsNotice: React.FC = () => { const getServices = useService(); - const unsupportedConnections = connections.filter( connection => - // If getServices returns falsy, it means the service is unsupported. - getServices( connection.service_name ) + const unsupportedConnections = connections.filter( + connection => + // If getServices returns falsy, it means the service is unsupported. + ! getServices( connection.service_name ) ); return (