Skip to content

Commit

Permalink
feat(facedetector): default props pass in params instead of using pro…
Browse files Browse the repository at this point in the history
…p-types
  • Loading branch information
opensrc0 committed Jun 14, 2024
1 parent dcb42e5 commit a1fd389
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 a1fd389

Please sign in to comment.