Skip to content

Commit

Permalink
In TabController - change minimum items error to a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanshar committed Nov 22, 2021
1 parent d17de66 commit fb74062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/tabController/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function TabController({
const [screenWidth, setScreenWidth] = useState<number>(Constants.windowWidth);

if (items?.length < 2) {
console.error('TabController component expect a minimum of 2 items');
console.warn('TabController component expect a minimum of 2 items');
}

useOrientation({
Expand Down

0 comments on commit fb74062

Please sign in to comment.