refactor(routes): simplify component loading syntax
This commit is contained in:
parent
f88795f7c5
commit
e5f8d6ce10
5 changed files with 46 additions and 53 deletions
|
@ -24,7 +24,7 @@ type DiceFormGroup = FormGroup<{
|
|||
imports: [CommonModule, ReactiveFormsModule],
|
||||
templateUrl: './dice.component.html',
|
||||
})
|
||||
export class DiceComponent implements OnInit {
|
||||
export default class DiceComponent implements OnInit {
|
||||
private readonly formBuilder = inject(FormBuilder);
|
||||
private readonly diceService = inject(DiceService);
|
||||
private readonly userService = inject(UserService);
|
||||
|
|
Reference in a new issue