remove logs

This commit is contained in:
AmirHossein Mahmoodi
2024-01-23 11:45:18 +03:30
parent 84bbe3e637
commit 23e36ab416
2 changed files with 0 additions and 6 deletions

View File

@@ -123,10 +123,6 @@ const UpdateForm = ({LoanDetails, LoanId}) => {
formData.append("occupation_id", values.occupation_id);
formData.append("address", values.address);
for (var pair of formData.entries()) {
console.log(pair[0] + ':' + pair[1]);
}
await requestServer(UPDATE_LOAN + LoanId, "post", {
auth: true, notification: true, data: formData
}).then(() => {
@@ -773,7 +769,6 @@ const UpdateForm = ({LoanDetails, LoanId}) => {
width: {xs: "100%", sm: "30%", md: "25%"},
}}
>
{console.log(props.errors)}
<Button
fullWidth
type="submit"

View File

@@ -18,7 +18,6 @@ const ConfigApp = ({children}) => {
response.data.data.forEach(item => {
_config[item.name] = isValidJson(item.value) ? JSON.parse(item.value) : item.value
})
console.log(_config)
setConfig(_config)
} catch (error) {
setError(true)