Skip to content

Commit

Permalink
Set stream in document capture component
Browse files Browse the repository at this point in the history
Update video preview to capture more context
Add styles and typography
  • Loading branch information
ayinloya committed Dec 15, 2023
1 parent e27a732 commit 982ea64
Show file tree
Hide file tree
Showing 3 changed files with 111 additions and 314 deletions.
2 changes: 1 addition & 1 deletion packages/components/document-capture/DocumentCapture.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class DocumentCapture extends HTMLElement {
}
}

if ('customElements' in window) {
if ('customElements' in window && !customElements.get('document-capture')) {
customElements.define('document-capture', DocumentCapture);
}

Expand Down
Loading

0 comments on commit 982ea64

Please sign in to comment.