Skip to content

Commit d22f766

Browse files
committed
Remove AI Match option from button bar
1 parent 0306d41 commit d22f766

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

src/app/components/SubmitBar/RunOptions.tsx

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { faBrain, faRobot } from '@fortawesome/free-solid-svg-icons';
1+
import { faBrain } from '@fortawesome/free-solid-svg-icons';
22
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
33
import { SubmissionActions } from 'app/actions';
44
import * as styles from 'app/styles/RunOptions.module.css';
@@ -62,17 +62,6 @@ export class RunOptions extends React.Component<
6262
},
6363
];
6464

65-
if (aiIds) {
66-
aiIds.map((aiId) => {
67-
matchOptions.push({
68-
aiId,
69-
icon: <FontAwesomeIcon icon={faRobot} />,
70-
name: `AI Match`,
71-
type: SubmissionActions.Type.AI_MATCH,
72-
});
73-
});
74-
}
75-
7665
const mapOptions = (
7766
<div className={classnames(styles['dropdown-submenu'])}>
7867
{maps.map((mapElement) => (

0 commit comments

Comments
 (0)