Skip to content

Commit

Permalink
fix(docs): Fix custom history entry component example code
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbromley committed Nov 1, 2023
1 parent 894ace7 commit 096d631
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,13 @@ import { Component } from '@angular/core';
import {
CustomerFragment,
CustomerHistoryEntryComponent,
registerHistoryEntryComponent,
SharedModule,
TimelineDisplayType,
TimelineHistoryEntry,
SharedModule,
} from '@vendure/admin-ui/core';

@Component({
selector: 'tax-id-verification-component',
selector: 'tax-id-verification-entry',
template: `
<div *ngIf="entry.data.valid">
Tax ID <strong>{{ entry.data.taxId }}</strong> was verified
Expand All @@ -41,7 +39,7 @@ import {
standalone: true,
imports: [SharedModule],
})
class TaxIdHistoryEntryComponent implements CustomerHistoryEntryComponent {
export class TaxIdHistoryEntryComponent implements CustomerHistoryEntryComponent {
entry: TimelineHistoryEntry;
customer: CustomerFragment;

Expand Down

0 comments on commit 096d631

Please sign in to comment.