Skip to content

Commit 991e419

Browse files
committed
fix(status): remove dependency on legacy icon
1 parent fa40be4 commit 991e419

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/components/Status/Status.styled.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* Internal dependencies */
22
import { styled, absoluteCenter, SemanticNames } from 'Foundation'
3-
import { Icon } from 'Components/Icon'
3+
import { LockIcon as BaseLockIcon } from 'Components/Icon/generated'
44
import { StatusSize } from './Status.types'
55

66
function getStatusCircleBorderSize(size: StatusSize) {
@@ -39,7 +39,7 @@ export const StatusCircle = styled.div<StatusCircleProps>`
3939
}
4040
`
4141

42-
export const LockIcon = styled(Icon)`
42+
export const LockIcon = styled(BaseLockIcon)`
4343
${absoluteCenter('')}
4444
z-index: 1;
4545
`

src/components/Status/Status.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ function Status({
2121
size={size}
2222
>
2323
<LockIcon
24-
name="lock"
2524
size={IconSize.XXS}
2625
color="txt-black-darker"
2726
/>

0 commit comments

Comments
 (0)