Skip to content

Commit 5b8d20b

Browse files
committed
Fix TabController warn message
1 parent 92af834 commit 5b8d20b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/tabController/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ function TabController({
9292

9393
useEffect(() => {
9494
if (!_.isUndefined(selectedIndex)) {
95-
LogService.deprecationWarn({component: 'TabController2', oldProp: 'selectedIndex', newProp: 'initialIndex'});
95+
LogService.deprecationWarn({component: 'TabController', oldProp: 'selectedIndex', newProp: 'initialIndex'});
9696
}
9797
}, [selectedIndex]);
9898

0 commit comments

Comments
 (0)