Skip to content

Commit cf3c247

Browse files
committed
fix: Not all code paths return a value.
1 parent 518cfbb commit cf3c247

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/carousel/CCarouselInner.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export const CCarouselInner = forwardRef<HTMLDivElement, CCarouselInnerProps>(
2424
if (React.isValidElement(child)) {
2525
return React.cloneElement(child, { key: index, idx: index })
2626
}
27+
return
2728
})}
2829
</div>
2930
)

0 commit comments

Comments
 (0)