style: clean up import statements for consistency
This commit is contained in:
parent
8d8af1101b
commit
064cc78402
5 changed files with 6 additions and 13 deletions
|
@ -61,7 +61,7 @@ export default class SlotsComponent implements OnInit, OnDestroy {
|
|||
this.slotInfo.set(data);
|
||||
});
|
||||
|
||||
this.userSubscription = this.userService.currentUser$.subscribe((user) => {
|
||||
this.userSubscription = this.userService.getCurrentUser().subscribe((user) => {
|
||||
this.balance.set(user?.balance ?? 0);
|
||||
});
|
||||
|
||||
|
|
|
@ -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