Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ayinloya committed Aug 28, 2024
1 parent 0fe9928 commit c494046
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions packages/smart-camera-web/src/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
import PoweredBySmileId from './PoweredBySmileId';
import SmartCameraWeb from './SmartCameraWeb';

if (window.customElements && !window.customElements.get('powered-by-smile-id')) {
window.customElements.define('powered-by-smile-id', PoweredBySmileId);
if (
window.customElements &&
!window.customElements.get('powered-by-smile-id')
) {
window.customElements.define('powered-by-smile-id', PoweredBySmileId);
}
if (window.customElements && !window.customElements.get('smart-camera-web')) {
window.customElements.define('smart-camera-web', SmartCameraWeb);
window.customElements.define('smart-camera-web', SmartCameraWeb);
}

0 comments on commit c494046

Please sign in to comment.