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