refactor: remove debounce on dice calculations #210
1 changed files with 13 additions and 7 deletions
|
@ -1,10 +1,16 @@
|
|||
import {Component, inject, OnInit, signal} from '@angular/core';
|
||||
import {CommonModule} from '@angular/common';
|
||||
import {FormBuilder, FormControl, FormGroup, ReactiveFormsModule, Validators,} from '@angular/forms';
|
||||
import {DiceService} from './dice.service';
|
||||
import {DiceDto, DiceResult} from './dice.model';
|
||||
import {tap} from 'rxjs/operators';
|
||||
import {UserService} from '@service/user.service';
|
||||
import { Component, inject, OnInit, signal } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import {
|
||||
FormBuilder,
|
||||
FormControl,
|
||||
FormGroup,
|
||||
ReactiveFormsModule,
|
||||
Validators,
|
||||
} from '@angular/forms';
|
||||
import { DiceService } from './dice.service';
|
||||
import { DiceDto, DiceResult } from './dice.model';
|
||||
import { tap } from 'rxjs/operators';
|
||||
import { UserService } from '@service/user.service';
|
||||
|
||||
type DiceFormGroup = FormGroup<{
|
||||
betAmount: FormControl<number | null>;
|
||||
|
|
Reference in a new issue