import { Component , ChangeDetectionStrategy , Inject } from '@angular/core' ; import { POLYMORPHEUS_CONTEXT } from '@tinkoff/ng-polymorpheus' ; import { TuiDialogContext } from '@taiga-ui/core' ; @ Component ( { selector : 'app-unsupported-token-ccr' , templateUrl : './unsupported-token-ccr.component.html' , styleUrls : [ './unsupported-token-ccr.component.scss' ] , changeDetection : ChangeDetectionStrategy . OnPush } ) export class UnsupportedTokenCCRComponent { public readonly questionId : string ; constructor ( @ Inject ( POLYMORPHEUS_CONTEXT ) private readonly context ) { this . questionId = context . data . questionId ; } }