|
@@ -22,7 +22,7 @@ const Deploys = ({version, orgSlug, projectId, deploys}: Props) => {
|
|
|
<SidebarSection.Content>
|
|
|
{deploys.map(deploy => (
|
|
|
<Row key={deploy.id}>
|
|
|
- <StyledDeployBadge
|
|
|
+ <DeployBadge
|
|
|
deploy={deploy}
|
|
|
orgSlug={orgSlug}
|
|
|
version={version}
|
|
@@ -40,6 +40,7 @@ const Deploys = ({version, orgSlug, projectId, deploys}: Props) => {
|
|
|
|
|
|
const Row = styled('div')`
|
|
|
display: flex;
|
|
|
+ gap: ${space(1)};
|
|
|
align-items: center;
|
|
|
justify-content: space-between;
|
|
|
margin-bottom: ${space(1)};
|
|
@@ -47,8 +48,4 @@ const Row = styled('div')`
|
|
|
color: ${p => p.theme.subText};
|
|
|
`;
|
|
|
|
|
|
-const StyledDeployBadge = styled(DeployBadge)`
|
|
|
- margin-right: ${space(1)};
|
|
|
-`;
|
|
|
-
|
|
|
export default Deploys;
|