1
1
import { Card } from './Card' ;
2
2
import { FlashCard } from './FlashCard' ;
3
- import { ConnectCard } from './ConnectCard' ;
3
+ // import { ConnectCard } from './ConnectCard';
4
4
import { ServiceContainer } from '../services/ServiceContainer' ;
5
5
6
6
export interface DialogProps {
@@ -10,7 +10,7 @@ export interface DialogProps {
10
10
11
11
export class Dialog {
12
12
private element : HTMLDivElement ;
13
- private connectCard : ConnectCard ;
13
+ // private connectCard: ConnectCard;
14
14
private flashCard : FlashCard ;
15
15
private resetCard : Card ;
16
16
@@ -27,15 +27,15 @@ export class Dialog {
27
27
const header = this . createHeader ( ) ;
28
28
const optionsContainer = this . createOptionsContainer ( ) ;
29
29
30
- this . connectCard = new ConnectCard (
31
- {
32
- action : 'connect' ,
33
- icon : '🔌' ,
34
- title : 'Connect Device' ,
35
- description : 'Connect to RedBoard via serial' ,
36
- color : 'var(--ui-navy)'
37
- } ,
38
- props . serviceContainer . deviceService ) ;
30
+ // this.connectCard = new ConnectCard(
31
+ // {
32
+ // action: 'connect',
33
+ // icon: '🔌',
34
+ // title: 'Connect Device',
35
+ // description: 'Connect to RedBoard via serial',
36
+ // color: 'var(--ui-navy)'
37
+ // },
38
+ // props.serviceContainer.deviceService);
39
39
40
40
this . flashCard = new FlashCard ( {
41
41
action : 'flash' ,
0 commit comments