remove logs
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user