diff --git a/frontend/src/app/Views/bot-settings/bot-settings.component.ts b/frontend/src/app/Views/bot-settings/bot-settings.component.ts index d2b57ec..aa96424 100644 --- a/frontend/src/app/Views/bot-settings/bot-settings.component.ts +++ b/frontend/src/app/Views/bot-settings/bot-settings.component.ts @@ -9,10 +9,6 @@ import { HelperService } from 'src/app/Helpers/helper.service'; import { ProfileService } from 'src/app/Services/profile.service'; import { FormControl } from '@angular/forms'; -export interface Fruit { - name: string; -} - export interface Share { isin: string; } diff --git a/frontend/src/app/Views/dashboard/dashboard.component.ts b/frontend/src/app/Views/dashboard/dashboard.component.ts index de4cf55..6410d1b 100644 --- a/frontend/src/app/Views/dashboard/dashboard.component.ts +++ b/frontend/src/app/Views/dashboard/dashboard.component.ts @@ -4,13 +4,6 @@ import { MatDialog } from '@angular/material/dialog'; import { UserDialogComponent } from './user-dialog/user-dialog.component'; import { HelperService } from 'src/app/Helpers/helper.service'; -export interface PeriodicElement { - name: string; - position: number; - weight: number; - symbol: string; -} - export interface Stock { count: number; currentPrice: number; @@ -18,14 +11,6 @@ export interface Stock { time: string; } -//symbol count lastTransaction boughtPrice currentPrice(+?) - -const ELEMENT_DATA: PeriodicElement[] = [ - { position: 1, name: 'Hydrogen', weight: 1.0079, symbol: 'H' }, - { position: 2, name: 'Helium', weight: 4.0026, symbol: 'He' }, - { position: 3, name: 'Lithium', weight: 6.941, symbol: 'Li' }, -]; - var TRANSACTION_DATA: TransactionData[] = []; var STOCK_DATA: Stock[] = []; @@ -153,5 +138,4 @@ export class DashboardComponent implements OnInit { 'weight', 'current-price', ]; - dataSource = ELEMENT_DATA; }