Skip to content

Commit f6cb530

Browse files
committed
Get rid of spamming message to console
1 parent 7f0a544 commit f6cb530

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/reactComponents/Tabs.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ export function Component(props: TabsProps): React.JSX.Element {
114114
case storageModule.ModuleType.OPMODE:
115115
newTabs.push({ key, title: module.className, type: TabType.OPMODE });
116116
break;
117+
case storageModule.ModuleType.ROBOT:
118+
break; // Robot tab is always first and cannot be added again.
117119
default:
118120
console.warn('Unknown module type:', module.moduleType);
119121
break;

0 commit comments

Comments
 (0)