Skip to content

Commit 305d10f

Browse files
committed
Fix warning message in CardSection
1 parent c37ab98 commit 305d10f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/card/CardSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class CardSection extends PureComponent<Props> {
5959
constructor(props: Props) {
6060
super(props);
6161

62-
if (props.imageSource) {
62+
if (props.source) {
6363
LogService.deprecationWarn({component: 'CardSection', oldProp: 'source', newProp: 'imageSource'});
6464
}
6565
}

0 commit comments

Comments
 (0)