Skip to content

Commit c068576

Browse files
authored
Change robot module to also use real getComponents code (#136)
1 parent a310695 commit c068576

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/toolbox/hardware_category.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626

2727
import * as Blockly from 'blockly/core';
2828

29-
import * as toolboxItems from './items';
3029
import * as commonStorage from '../storage/common_storage';
3130
import { getAllPossibleMechanisms } from './blocks_mechanisms';
3231
import { getAllPossibleComponents, getBlocks } from './blocks_components';
@@ -50,7 +49,7 @@ export function getHardwareCategory(currentModule: commonStorage.Module) {
5049
name: 'Hardware',
5150
contents: [
5251
getRobotMechanismsBlocks(currentModule),
53-
getRobotComponentsBlocks(currentModule),
52+
getComponentsBlocks(currentModule),
5453
]
5554
};
5655
}

0 commit comments

Comments
 (0)