diff --git a/src/app/features/swaps-page/instant-trades/components/instant-trades/instant-trades.component.html b/src/app/features/swaps-page/instant-trades/components/instant-trades/instant-trades.component.html index dd258e034f..145809ab4c 100644 --- a/src/app/features/swaps-page/instant-trades/components/instant-trades/instant-trades.component.html +++ b/src/app/features/swaps-page/instant-trades/components/instant-trades/instant-trades.component.html @@ -6,5 +6,5 @@ - + diff --git a/src/app/features/swaps-page/instant-trades/components/instant-trades/instant-trades.component.ts b/src/app/features/swaps-page/instant-trades/components/instant-trades/instant-trades.component.ts index 5826d7e000..fe5d8176e2 100644 --- a/src/app/features/swaps-page/instant-trades/components/instant-trades/instant-trades.component.ts +++ b/src/app/features/swaps-page/instant-trades/components/instant-trades/instant-trades.component.ts @@ -1,4 +1,5 @@ import { Component } from '@angular/core'; +import { QueryParamsService } from '../../../../../core/services/query-params/query-params.service'; @Component({ selector: 'app-instant-trades', @@ -6,5 +7,9 @@ import { Component } from '@angular/core'; styleUrls: ['./instant-trades.component.scss'] }) export class InstantTradesComponent { - constructor() {} + public readonly $isIframe; + + constructor(queryParamsService: QueryParamsService) { + this.$isIframe = queryParamsService.$isIframe; + } }