Skip to content

Commit

Permalink
Merge pull request #44 from opensrc0/main
Browse files Browse the repository at this point in the history
feat(facedetector): default props pass in params instead of using pro…
  • Loading branch information
opensrc0 committed Jun 14, 2024
2 parents ce1a004 + a1fd389 commit 34f2f68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __app/component/FaceDetector/FaceDetector.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ function FaceDetector({
};

const handleBrowserSupport = () => {
if (FaceDetector.isBrowserSupport()) {
if (isBrowserSupport()) {
facingMode = cameraType === 'back' ? 'environment' : 'user';
handleLoading({ loadingCb });

Expand Down

0 comments on commit 34f2f68

Please sign in to comment.