Skip to content

Commit

Permalink
Removing notification, when the camera feed is on
Browse files Browse the repository at this point in the history
  • Loading branch information
shauryag2002 committed Oct 3, 2024
1 parent e45c8a8 commit 205242c
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 8 deletions.
3 changes: 0 additions & 3 deletions src/Components/Facility/CoverImageEditModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -346,9 +346,6 @@ const CoverImageEditModal = ({
width={1280}
ref={webRef}
videoConstraints={constraint}
onUserMedia={() => {
Success({ msg: t("user_media_is_ready") });
}}
onUserMediaError={(_e) => {
setIsCameraOpen(false);
Warn({ msg: t("camera_permission_denied") });
Expand Down
1 change: 0 additions & 1 deletion src/Locale/en/Common.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@
"retake": "Retake",
"submit": "Submit",
"camera": "Camera",
"user_media_is_ready": "User media is ready",
"camera_permission_denied": "Camera Permission denied",
"submitting": "Submitting",
"view_details": "View Details",
Expand Down
1 change: 0 additions & 1 deletion src/Locale/hi/Common.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@
"retake": "फिर से लेना",
"submit": "जमा करना",
"camera": "कैमरा",
"user_media_is_ready": "उपयोगकर्ता मीडिया तैयार है",
"camera_permission_denied": "कैमरा अनुमति नहीं दी गई",
"submitting": "भेजने से",
"view_details": "विवरण देखें",
Expand Down
1 change: 0 additions & 1 deletion src/Locale/kn/Common.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@
"retake": "ಮರುಪಡೆಯಿರಿ",
"submit": "ಸಲ್ಲಿಸಿ",
"camera": "ಕ್ಯಾಮೆರಾ",
"user_media_is_ready": "ಬಳಕೆದಾರ ಮೀಡಿಯಾ ಸಿದ್ಧವಾಗಿದೆ",
"camera_permission_denied": "ಕ್ಯಾಮೆರಾ ಅನುಮತಿ ನಿರಾಕರಿಸಲಾಗಿದೆ",
"submitting": "ಸಲ್ಲಿಸಲಾಗುತ್ತಿದೆ",
"view_details": "ವಿವರಗಳನ್ನು ವೀಕ್ಷಿಸಿ",
Expand Down
1 change: 0 additions & 1 deletion src/Locale/ml/Common.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@
"retake": "വീണ്ടും എടുക്കുക",
"submit": "സമർപ്പിക്കുക",
"camera": "ക്യാമറ",
"user_media_is_ready": "ഉപയോക്താവിന്റെ മീഡിയ സജ്ജമാണ്",
"camera_permission_denied": "ക്യാമറ അനുമതി നിഷേധിച്ചു",
"submitting": "സമർപ്പിക്കുന്നു",
"view_details": "വിശദാംശങ്ങൾ കാണുക",
Expand Down
1 change: 0 additions & 1 deletion src/Locale/ta/Common.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@
"retake": "மீண்டும் எடுக்கவும்",
"submit": "சமர்ப்பிக்கவும்",
"camera": "கேமரா",
"user_media_is_ready": "பயனர் மீடியா தயாராக்கப்பட்டுள்ளது",
"camera_permission_denied": "கேமரா அனுமதி நிராகரித்தது",
"submitting": "சமர்ப்பிக்கிறது",
"view_details": "விவரங்களைக் காண்க",
Expand Down

0 comments on commit 205242c

Please sign in to comment.