Merge pull request #10652 from appsmithorg/fix/delete-icon-s3-amazon-page

fix: Change delete icon in s3 amazon where clause component
This commit is contained in:
Daniel 2022-02-02 04:59:45 -08:00 committed by GitHub
commit 45816c51f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -165,12 +165,12 @@ function ConditionComponent(props: any, index: number) {
/>
{/* Component to render the delete icon */}
<CenteredIcon
name="cross"
name="trash"
onClick={(e) => {
e.stopPropagation();
props.onDeletePressed(index);
}}
size={IconSize.SMALL}
size={IconSize.XL}
/>
</ConditionBox>
);
@ -260,12 +260,12 @@ function ConditionBlock(props: any) {
<CenteredIcon
alignSelf={"center"}
marginBottom={"-5px"}
name="cross"
name="trash"
onClick={(e) => {
e.stopPropagation();
onDeletePressed(index);
}}
size={IconSize.SMALL}
size={IconSize.XL}
/>
</ConditionBox>
);