Skip to content

Commit

Permalink
feat(cc-addon-credentials): make use of the cc-notice instead of cc-e…
Browse files Browse the repository at this point in the history
…rror
  • Loading branch information
Galimede committed Jun 30, 2023
1 parent 422815c commit 7b8e4c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/cc-addon-credentials/cc-addon-credentials.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import '../cc-input-text/cc-input-text.js';
import '../cc-block/cc-block.js';
import '../cc-error/cc-error.js';
import '../cc-notice/cc-notice.js';
import { css, html, LitElement } from 'lit';
import { ifDefined } from 'lit/directives/if-defined.js';
import { i18n } from '../../lib/i18n.js';
Expand Down Expand Up @@ -111,7 +111,7 @@ export class CcAddonCredentials extends LitElement {
` : ''}
${this.error ? html`
<cc-error>${i18n('cc-addon-credentials.loading-error')}</cc-error>
<cc-notice intent="warning" message="${i18n('cc-addon-credentials.loading-error')}"></cc-notice>
` : ''}
</cc-block>
`;
Expand Down

0 comments on commit 7b8e4c3

Please sign in to comment.