Skip to content

Commit

Permalink
remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
jadmsaadaot committed Sep 13, 2023
1 parent 54ba7c0 commit 29b7ec8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion met-web/src/components/common/FileUpload/Uploader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ interface UploaderProps {
acceptedFormat?: Accept;
}
const Uploader = ({ margin = 2, height = '10em', helpText, acceptedFormat }: UploaderProps) => {
console.log(acceptedFormat);
const { handleAddFile } = useContext(FileUploadContext);

return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ const FormSignUpDrawer = () => {
} = methods;

useEffect(() => {
console.log('subscribeOptionToEdit', subscribeOptionToEdit);
if (subscribeOptionToEdit) {
const subscribeItem = subscribeOptionToEdit.subscribe_items[0];
setValue('description', subscribeItem.description);
Expand All @@ -94,10 +93,6 @@ const FormSignUpDrawer = () => {
}
}, []);

useEffect(() => {
console.log('initialRichDescription', initialRawEditorState);
}, [initialRawEditorState]);

const createSubscribeForm = async (data: FormSignUp) => {
const { description, richDescription, callToActionText, callToActionType } = await schema.validate(data);
if (!widget) {
Expand Down
3 changes: 0 additions & 3 deletions met-web/src/components/engagement/listing/ActionsDropDown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ export const ActionsDropDown = ({ engagement }: { engagement: Engagement }) => {
engagement.submission_status === SubmissionStatus.Upcoming;
const isScheduled = engagement.engagement_status.id === EngagementStatus.Scheduled;

useEffect(() => {
console.log(roles);
}, [roles]);
const canEditEngagement = (): boolean => {
const authorized = roles.includes(USER_ROLES.EDIT_ENGAGEMENT) || assignedEngagements.includes(engagement.id);

Expand Down

0 comments on commit 29b7ec8

Please sign in to comment.