Skip to content

Commit

Permalink
suggestions of coderabbit ai
Browse files Browse the repository at this point in the history
  • Loading branch information
AnshulKahar2729 committed Oct 8, 2024
1 parent cadf12f commit 022474d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@
"joinNow": "Join Now",
"visit": "Visit",
"leave": "Leave",
"withdraw": "Widthdraw",
"withdraw": "Withdraw",
"removeUserFrom": "Remove User from {{org}}",
"removeConfirmation": "Are you sure you want to remove '{{name}}' from organization '{{org}}'?",
"searchByName": "searchByName",
Expand Down
2 changes: 1 addition & 1 deletion public/locales/zh/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@
"assignmentDate": "分配日期",
"active": "积极的",
"clearFilters": "清除过滤器",
"completed": "完全的",
"completed": "已完成",
"completionDate": "完成日期",
"createActionItem": "创建操作项",
"deleteActionItem": "删除操作项",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ const translations = {
...JSON.parse(JSON.stringify(i18n.getDataByLanguage('en')?.errors ?? {})),
};

console.log(translations.errorOccured);

const renderLeaveConfirmModal = (
onHide: () => void,
mocks: any,
Expand Down Expand Up @@ -82,7 +80,6 @@ describe('LeaveConfirmModal', () => {
renderLeaveConfirmModal(onHide, mocks);

const confirmButton = screen.getByText(translations.confirm);
console.log(confirmButton);
fireEvent.click(confirmButton);

await waitFor(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ const LeaveConfirmModal: FC<InterfaceLeaveConfirmModalProps> = ({
organizationId: orgId,
},
});
console.log(data);
onHide();
toast.success(t('orgLeft'));
navigate('/user/organizations');
Expand Down

0 comments on commit 022474d

Please sign in to comment.