Skip to content

Commit 2336149

Browse files
Remove connect card from dialog
1 parent a9718fd commit 2336149

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

kernel/src/components/Dialog.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Card } from './Card';
22
import { FlashCard } from './FlashCard';
3-
import { ConnectCard } from './ConnectCard';
3+
// import { ConnectCard } from './ConnectCard';
44
import { ServiceContainer } from '../services/ServiceContainer';
55

66
export interface DialogProps {
@@ -10,7 +10,7 @@ export interface DialogProps {
1010

1111
export class Dialog {
1212
private element: HTMLDivElement;
13-
private connectCard: ConnectCard;
13+
// private connectCard: ConnectCard;
1414
private flashCard: FlashCard;
1515
private resetCard: Card;
1616

@@ -27,15 +27,15 @@ export class Dialog {
2727
const header = this.createHeader();
2828
const optionsContainer = this.createOptionsContainer();
2929

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);
3939

4040
this.flashCard = new FlashCard({
4141
action: 'flash',

0 commit comments

Comments
 (0)