Skip to content

Commit

Permalink
fix slack integration spacing (#4251)
Browse files Browse the repository at this point in the history
  • Loading branch information
d-g-town authored Feb 8, 2024
1 parent 24cd922 commit 88e94cf
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions dashboard/src/main/home/integrations/SlackIntegrationList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,16 +87,19 @@ const SlackIntegrationList: React.FC<SlackIntegrationListProps> = (props) => {
props.slackData.map((inst, idx) => {
if (deleted.current.has(idx)) return null;
return (
<SlackIntegration
projectID={currentProject.id}
key={idx.toString()}
idx={idx}
deleteIndex={(index: number) => {
setDeleteIndex(index);
setIsDelete(true);
}}
inst={inst}
/>
<>
<SlackIntegration
projectID={currentProject.id}
key={idx.toString()}
idx={idx}
deleteIndex={(index: number) => {
setDeleteIndex(index);
setIsDelete(true);
}}
inst={inst}
/>
<Spacer y={0.5} />
</>
);
})
) : (
Expand Down

0 comments on commit 88e94cf

Please sign in to comment.