Skip to content

Commit

Permalink
feat(cc-tcp-redirection-form): make use of the cc-notice instead of c…
Browse files Browse the repository at this point in the history
…c-error
  • Loading branch information
Galimede committed Jun 30, 2023
1 parent 8e4a0f0 commit acc2a67
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import '../cc-badge/cc-badge.js';
import '../cc-block/cc-block.js';
import '../cc-error/cc-error.js';
import '../cc-notice/cc-notice.js';
import '../cc-tcp-redirection/cc-tcp-redirection.js';
import { css, html, LitElement } from 'lit';
import { i18n } from '../../lib/i18n.js';
Expand Down Expand Up @@ -76,7 +76,7 @@ export class CcTcpRedirectionForm extends LitElement {
` : ''}
${state === 'error' ? html`
<cc-error>${i18n('cc-tcp-redirection-form.error')}</cc-error>
<cc-notice intent="warning" message="${i18n('cc-tcp-redirection-form.error')}"></cc-notice>
` : ''}
</cc-block>
Expand Down

0 comments on commit acc2a67

Please sign in to comment.