Skip to content

Commit 15c1f6b

Browse files
committed
fix: typings issue
1 parent 640d4c2 commit 15c1f6b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

admin/src/pages/HomePage/components/NavigationItemListItem/ItemCardBadge/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import styled from 'styled-components';
44
export const ItemCardBadge = styled(Badge).withConfig({
55
shouldForwardProp: (prop) => !['small'].includes(prop),
66
})`
7-
border: 1px solid ${({ theme, borderColor }) => theme.colors[borderColor]};
7+
border: 1px solid ${({ theme, borderColor }) => theme.colors[borderColor as keyof typeof theme.colors]};
88
99
${({ small, theme }) =>
1010
small &&

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,5 +162,5 @@
162162
"npm": ">=6.0.0"
163163
},
164164
"license": "MIT",
165-
"packageManager": "yarn@4.6.0"
165+
"packageManager": "yarn@1.22.22"
166166
}

0 commit comments

Comments
 (0)