Skip to content

Commit

Permalink
refactor: 🛠 tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
yjaaidi committed Nov 3, 2023
1 parent 20e72d6 commit 3e1f677
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/whiskmate/src/app/shared/card.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
imports: [NgIf],
template: ` <img *ngIf="pictureUri" class="picture" [src]="pictureUri" />
<div class="content">
<ng-content></ng-content>
<ng-content/>
</div>`,
styles: [
`
Expand Down
2 changes: 1 addition & 1 deletion apps/whiskmate/src/app/shared/catalog.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { ChangeDetectionStrategy, Component } from '@angular/core';
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
selector: 'wm-catalog',
template: `<ng-content></ng-content>`,
template: `<ng-content/>`,
styles: [
`
:host {
Expand Down
2 changes: 1 addition & 1 deletion apps/whiskmate/src/app/shared/title.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { ChangeDetectionStrategy, Component } from '@angular/core';
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
selector: 'wm-title',
template: `<h1><ng-content></ng-content></h1>`,
template: `<h1><ng-content/></h1>`,
styles: [
`
:host {
Expand Down

0 comments on commit 3e1f677

Please sign in to comment.