Skip to content

Commit

Permalink
removed unwanted console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
vsumit89 committed Sep 3, 2022
1 parent 3649277 commit f4d32c0
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions studio/src/actions/policies.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ export const getPolicy = (id) => {
return axios
.get(POLICIES_API + '/' + id)
.then((response) => {
console.log(response.data);
dispatch(addPolicy(GET_POLICY, response.data));
})
.catch((error) => {
Expand Down Expand Up @@ -94,7 +93,6 @@ export const createPolicy = (data) => {

// action to update policy by id
export const updatePolicy = (data) => {
console.log({ data });
return (dispatch) => {
dispatch(loadingPolicies());
return axios
Expand Down
3 changes: 0 additions & 3 deletions studio/src/pages/roles/EditRole.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,10 @@ function EditRole() {
};
});

console.log(role, loading);
React.useEffect(() => {
dispatch(getRole(id));
}, [dispatch, id]);
const onCreate = (values) => {
console.log('this has beeen called');
console.log({ values });
dispatch(updateRole({ ...role, ...values })).then(() => history.push('/members/roles'));
};

Expand Down
1 change: 0 additions & 1 deletion studio/src/pages/spaces/components/SpaceEditForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ const SpaceEditForm = ({ onCreate, data = {} }) => {
onFinishFailed={(errors) => {
// let name = errors.errorFields[0].name[0];
// if (['name', 'slug'].includes(name)) {
console.log({ errors });
// }
}}
onValuesChange={() => {
Expand Down

0 comments on commit f4d32c0

Please sign in to comment.