remove: log from create guilds
This commit is contained in:
@@ -131,22 +131,21 @@ export const CreateGuilds = ({ guild, updateTable }) => {
|
||||
);
|
||||
});
|
||||
|
||||
console.log(guildsDataArray);
|
||||
// dispatch(updateGuildByNationalIdNewService(guildsDataArray)).then(
|
||||
// (result) => {
|
||||
// if (result.payload.error) {
|
||||
// handleSubmitError(openNotif, result.payload.error);
|
||||
// } else {
|
||||
// handleSubmitSuccess(
|
||||
// dispatch,
|
||||
// openNotif,
|
||||
// updateTable,
|
||||
// values,
|
||||
// result.payload?.data
|
||||
// );
|
||||
// }
|
||||
// }
|
||||
// );
|
||||
dispatch(updateGuildByNationalIdNewService(guildsDataArray)).then(
|
||||
(result) => {
|
||||
if (result.payload.error) {
|
||||
handleSubmitError(openNotif, result.payload.error);
|
||||
} else {
|
||||
handleSubmitSuccess(
|
||||
dispatch,
|
||||
openNotif,
|
||||
updateTable,
|
||||
values,
|
||||
result.payload?.data
|
||||
);
|
||||
}
|
||||
}
|
||||
);
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user