Skip to content

Commit fb74062

Browse files
committed
In TabController - change minimum items error to a warning
1 parent d17de66 commit fb74062

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
@@ -60,7 +60,7 @@ function TabController({
6060
const [screenWidth, setScreenWidth] = useState<number>(Constants.windowWidth);
6161

6262
if (items?.length < 2) {
63-
console.error('TabController component expect a minimum of 2 items');
63+
console.warn('TabController component expect a minimum of 2 items');
6464
}
6565

6666
useOrientation({

0 commit comments

Comments
 (0)