Skip to content

Commit

Permalink
lint: remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
GODrums committed Oct 12, 2024
1 parent 48ecf66 commit 703c36f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion webapp/src/app/core/issue-card/issue-card.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
@let labelColors = hexToRgb(label.color ?? 'FFFFFF');
<span
class="px-2 py-0.5 rounded-[2rem] text-xs font-medium dark:border gh-label"
[ariaDescription]="dataTheme()"
[style.--label-r]="labelColors.r"
[style.--label-g]="labelColors.g"
[style.--label-b]="labelColors.b"
Expand Down
4 changes: 0 additions & 4 deletions webapp/src/app/core/issue-card/issue-card.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ export class IssueCardComponent {
displayCreated = computed(() => dayjs(this.createdAt()));
computedClass = computed(() => cn('border border-border bg-card rounded-lg p-4 w-72', this.class()));

dataTheme = computed(() => {
return document.documentElement.className.includes('dark') ? 'dark' : 'light';
});

getMostRecentReview() {
if (!this.reviews()) {
return null;
Expand Down

0 comments on commit 703c36f

Please sign in to comment.