Skip to content

Commit

Permalink
cleaning up logging
Browse files Browse the repository at this point in the history
  • Loading branch information
travjenkins committed Feb 21, 2025
1 parent 3d53bc8 commit 987b1ae
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/components/Connectors/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,18 +66,6 @@ const ConnectorCard = ({
type,
showType = false,
}: ReturnType<typeof normalizeConnector> & { showType?: boolean }) => {
if (!logo?.childImageSharp?.gatsbyImageData) {
console.log('>>>>> logo missing', {
title,
shortDescription,
recommended,
logo,
slug,
type,
showType,
});
}

return (
<Link to={`${slug}`}>
<div className={connectorCard}>
Expand Down Expand Up @@ -220,8 +208,6 @@ export const Connectors = ({
);

const logosByConnectorId = useMemo(() => {
console.log('>>>>> getting logo list');

return Object.assign(
{},
...mappedConnectors.map((con) => ({ [con.id]: con.logo }))
Expand Down Expand Up @@ -267,8 +253,6 @@ export const Connectors = ({
<div className={connectorCards}>
{(query.length > 0 ? results : mappedConnectors).map(
(connector) => {
console.log('>>>>> connector', connector);

return (
<ConnectorCard
key={connector.id}
Expand Down

0 comments on commit 987b1ae

Please sign in to comment.