style: clean up import statements for consistency
This commit is contained in:
parent
0cf2ea3438
commit
a178386355
5 changed files with 7 additions and 14 deletions
|
@ -1,7 +1,7 @@
|
|||
import { ChangeDetectionStrategy, Component, inject, OnInit, signal } from '@angular/core';
|
||||
import { NavbarComponent } from '@shared/components/navbar/navbar.component';
|
||||
import { HttpClient } from '@angular/common/http';
|
||||
import { KeyValuePipe, NgClass, UpperCasePipe } from '@angular/common';
|
||||
import { KeyValuePipe, UpperCasePipe } from '@angular/common';
|
||||
import { FormsModule } from '@angular/forms';
|
||||
|
||||
interface SlotResult {
|
||||
|
@ -13,7 +13,7 @@ interface SlotResult {
|
|||
@Component({
|
||||
selector: 'app-slots',
|
||||
standalone: true,
|
||||
imports: [NavbarComponent, KeyValuePipe, UpperCasePipe, NgClass, FormsModule],
|
||||
imports: [NavbarComponent, KeyValuePipe, UpperCasePipe, FormsModule],
|
||||
templateUrl: './slots.component.html',
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
})
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { Component, ChangeDetectorRef } from '@angular/core';
|
||||
import { ChangeDetectorRef, Component } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { LootboxService } from '../services/lootbox.service';
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { Component, OnInit, ChangeDetectorRef } from '@angular/core';
|
||||
import { ChangeDetectorRef, Component, OnInit } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { NavbarComponent } from '@shared/components/navbar/navbar.component';
|
||||
import { LootboxService } from '../services/lootbox.service';
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { Injectable, inject } from '@angular/core';
|
||||
import { inject, Injectable } from '@angular/core';
|
||||
import { HttpClient } from '@angular/common/http';
|
||||
import { Observable, catchError } from 'rxjs';
|
||||
import { catchError, Observable } from 'rxjs';
|
||||
import { LootBox, Reward } from 'app/model/LootBox';
|
||||
|
||||
@Injectable({
|
||||
|
|
|
@ -1,11 +1,4 @@
|
|||
import {
|
||||
ChangeDetectionStrategy,
|
||||
Component,
|
||||
EventEmitter,
|
||||
inject,
|
||||
Input,
|
||||
Output,
|
||||
} from '@angular/core';
|
||||
import { ChangeDetectionStrategy, Component, EventEmitter, inject, Input, Output } from '@angular/core';
|
||||
import { TransactionService } from '@service/transaction.service';
|
||||
import { Observable } from 'rxjs';
|
||||
import { AsyncPipe, CurrencyPipe, DatePipe, NgIf } from '@angular/common';
|
||||
|
|
Reference in a new issue