aboutsummaryrefslogtreecommitdiff
path: root/src/app/components/post/post.component.ts
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2021-03-22 09:42:59 +0200
committerSyndamia <kamen.d.mladenov@protonmail.com>2021-03-22 09:42:59 +0200
commitc433aa158ed3921f1de2786eff4b5ff86cabcc94 (patch)
treee599a73ffc225f34f99d594700091ab670b14e10 /src/app/components/post/post.component.ts
parentc08d710428ca14b0ebe3d13c16df0aa9b8ba9a93 (diff)
downloadDevHive-Angular-c433aa158ed3921f1de2786eff4b5ff86cabcc94.tar
DevHive-Angular-c433aa158ed3921f1de2786eff4b5ff86cabcc94.tar.gz
DevHive-Angular-c433aa158ed3921f1de2786eff4b5ff86cabcc94.zip
Removed post component index number, since we don't need it anymore
Diffstat (limited to 'src/app/components/post/post.component.ts')
-rw-r--r--src/app/components/post/post.component.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/app/components/post/post.component.ts b/src/app/components/post/post.component.ts
index 000fde0..e1d435d 100644
--- a/src/app/components/post/post.component.ts
+++ b/src/app/components/post/post.component.ts
@@ -22,7 +22,6 @@ export class PostComponent implements OnInit, AfterViewInit {
public votesNumber: number;
public timeCreated: string;
@Input() paramId: string;
- @Input() index: number;
@ViewChild('upvote') upvoteBtn: ElementRef;
@ViewChild('downvote') downvoteBtn: ElementRef;
public loggedIn = false;