Skip to content

Commit 5207d7d

Browse files
committed
feat: default to text if type not specified
1 parent 8369714 commit 5207d7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/robot/RobotEdit.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export const RobotEditModal = ({ isOpen, handleStart, handleClose, initialSettin
139139
) {
140140
const selector: string = action.args[0];
141141
const value: string = action.args[1];
142-
const type: string = action.args[2];
142+
const type: string = action.args[2] || 'text';
143143

144144
if (!credentials[selector]) {
145145
credentials[selector] = {

0 commit comments

Comments
 (0)