Skip to content

Commit

Permalink
feat(cc-invoice): make use of the cc-notice instead of cc-error
Browse files Browse the repository at this point in the history
  • Loading branch information
Galimede committed Jul 3, 2023
1 parent 2318d0b commit 59534d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/cc-invoice/cc-invoice.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { css, html, LitElement } from 'lit';
import '../cc-block/cc-block.js';
import '../cc-error/cc-error.js';
import '../cc-notice/cc-notice.js';
import '../cc-html-frame/cc-html-frame.js';
import '../cc-icon/cc-icon.js';
import { classMap } from 'lit/directives/class-map.js';
Expand Down Expand Up @@ -73,7 +73,7 @@ export class CcInvoice extends LitElement {
</cc-html-frame>
` : ''}
${this.error ? html`
<cc-error>${i18n('cc-invoice.error')}</cc-error>
<cc-notice intent="warning" message="${i18n('cc-invoice.error')}"></cc-notice>
` : ''}
</cc-block>
`;
Expand Down

0 comments on commit 59534d8

Please sign in to comment.