Skip to content

Commit 0657e3b

Browse files
fix: ci
1 parent 63313b6 commit 0657e3b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/react-notion-x/src/icons/collection-view-icon.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const iconMap = {
2020
}
2121

2222
export function CollectionViewIcon({ type, ...rest }: CollectionViewIconProps) {
23-
const icon = iconMap[type] as any
23+
const icon = iconMap[type as keyof typeof iconMap]
2424
if (!icon) {
2525
return null
2626
}

packages/react-notion-x/src/icons/type-auto-increment-id.svg

+1-1
Loading

packages/react-notion-x/src/icons/type-auto-increment-id.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as React from 'react'
1+
import type * as React from 'react'
22

33
function SvgTypeAutoIncrementId(props: React.SVGProps<SVGSVGElement>) {
44
return (

0 commit comments

Comments
 (0)