Skip to content

Commit

Permalink
Oops! It should be negation
Browse files Browse the repository at this point in the history
  • Loading branch information
manzoorwanijk committed Dec 19, 2024
1 parent 3fd4100 commit ebf0c82
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit ebf0c82

Please sign in to comment.