Skip to content

Commit

Permalink
remove duplicate clickable from icon
Browse files Browse the repository at this point in the history
  • Loading branch information
AnshuPathak-88825 authored Oct 16, 2023
1 parent 79a39c5 commit 7a84d3e
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions apps/web/src/pages/templates/components/LackIntegrationAlert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,23 +55,7 @@ export function LackIntegrationAlert({
<WarningMessage onClick={handleErrorRectangleClick} backgroundColor={alertTypeToMessageBackgroundColor(type)}>
<Group spacing={12} noWrap>
<div>
<MissingIcon
color={alertTypeToDoubleArrowColor(type)}
onClick={() => {
if (isPrimaryMissing) {
openSelectPrimaryIntegrationModal({
environmentId: environment?._id,
channelType: channelType,
onClose: () => {
segment.track(TemplateEditorAnalyticsEnum.CONFIGURE_PRIMARY_PROVIDER_BANNER_CLICK);
},
});
} else {
openIntegrationsModal(true);
segment.track(TemplateEditorAnalyticsEnum.CONFIGURE_PROVIDER_BANNER_CLICK);
}
}}
/>
<MissingIcon color={alertTypeToDoubleArrowColor(type)} />
</div>
<Text color={alertTypeToMessageTextColor(type)}>
{text
Expand Down

0 comments on commit 7a84d3e

Please sign in to comment.