Skip to content

Commit

Permalink
SCKAN-264 : Fix linter issue
Browse files Browse the repository at this point in the history
  • Loading branch information
afonsobspinto committed Apr 15, 2024
1 parent 9f99815 commit ed10f43
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const DestinationNodeWidget: React.FC<DestinationNodeProps> = ({
>
{model.name}
</Typography>
{model.getOptions().forward_connection?.length > 0 && <ArrowDownwardIcon style={{ position: 'absolute', bottom: '-0.5rem', left: '50%', transform: 'translateX(-50%)' }} />}
{hasForwardConnections && <ArrowDownwardIcon style={{ position: 'absolute', bottom: '-0.5rem', left: '50%', transform: 'translateX(-50%)' }} />}
</Box>
{inPort && <PortWidget className="inPortDestination" engine={engine} port={inPort}>
<div className="inPortDestination"/>
Expand Down Expand Up @@ -191,7 +191,7 @@ export const DestinationNodeWidget: React.FC<DestinationNodeProps> = ({
</Stack>

<Box width={1} mt={2}>
{model.getOptions()?.forward_connection?.length > 0 && <ArrowDownwardIcon style={{ display: 'block', margin: '0 auto 0.25rem' }} />}
{hasForwardConnections && <ArrowDownwardIcon style={{ display: 'block', margin: '0 auto 0.25rem' }} />}
<Box
sx={{
borderRadius: "0.625rem",
Expand Down

0 comments on commit ed10f43

Please sign in to comment.