Skip to content

Commit

Permalink
remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
apathania22 committed Oct 1, 2024
1 parent 5cfb5fa commit 952d40a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 19 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import { DatePipe } from '@angular/common';
import {
Directive,
ElementRef,
Input,
OnChanges,
Renderer2,
SimpleChanges,
TemplateRef,
Type,
Expand Down Expand Up @@ -42,9 +40,7 @@ export class DateDirective extends BaseFieldDirective implements OnChanges {
constructor(
viewContainer: ViewContainerRef,
private templateRef: TemplateRef<unknown>,
private datePipe: DatePipe,
protected renderer: Renderer2,
protected elementRef: ElementRef
private datePipe: DatePipe
) {
super(viewContainer);
this.defaultFieldEditingComponent = DefaultEmptyFieldEditingComponent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ export class ImageDirective extends BaseFieldDirective implements OnChanges {
constructor(
viewContainer: ViewContainerRef,
private templateRef: TemplateRef<unknown>,
protected renderer: Renderer2,
protected elementRef: ElementRef
private renderer: Renderer2,
private elementRef: ElementRef
) {
super(viewContainer);
this.defaultFieldEditingComponent = DefaultEmptyImageFieldEditingComponent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export class LinkDirective extends BaseFieldDirective implements OnChanges {
viewContainer: ViewContainerRef,
protected templateRef: TemplateRef<unknown>,
protected renderer: Renderer2,
protected elementRef: ElementRef
private elementRef: ElementRef
) {
super(viewContainer);
this.defaultFieldEditingComponent = DefaultEmptyFieldEditingComponent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {
ViewContainerRef,
Renderer2,
Type,
ElementRef,
} from '@angular/core';
import { Router } from '@angular/router';
import { isAbsoluteUrl } from '@sitecore-jss/sitecore-jss/utils';
Expand Down Expand Up @@ -38,8 +37,7 @@ export class RichTextDirective extends BaseFieldDirective implements OnChanges {
viewContainer: ViewContainerRef,
private templateRef: TemplateRef<unknown>,
private router: Router,
protected renderer: Renderer2,
protected elementRef: ElementRef
private renderer: Renderer2
) {
super(viewContainer);
this.defaultFieldEditingComponent = DefaultEmptyFieldEditingComponent;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import {
Directive,
ElementRef,
Input,
OnChanges,
Renderer2,
SimpleChanges,
TemplateRef,
Type,
Expand Down Expand Up @@ -34,12 +32,7 @@ export class TextDirective extends BaseFieldDirective implements OnChanges {
*/
protected defaultFieldEditingComponent: Type<unknown>;

constructor(
viewContainer: ViewContainerRef,
private templateRef: TemplateRef<unknown>,
protected renderer: Renderer2,
protected elementRef: ElementRef
) {
constructor(viewContainer: ViewContainerRef, private templateRef: TemplateRef<unknown>) {
super(viewContainer);
this.defaultFieldEditingComponent = DefaultEmptyFieldEditingComponent;
}
Expand Down

0 comments on commit 952d40a

Please sign in to comment.