|
|
@@ -72,10 +72,9 @@ const Settings = () => { |
|
|
|
} |
|
|
|
}; |
|
|
|
|
|
|
|
const onUpdateCompanyInfo = (companyInfo) => { |
|
|
|
updateCompany(companyInfo).then(() => { |
|
|
|
onFetchCompanyInfo(); |
|
|
|
}); |
|
|
|
const onUpdateCompanyInfo = async (companyInfo) => { |
|
|
|
await updateCompany(companyInfo); |
|
|
|
await onFetchCompanyInfo(); |
|
|
|
} |
|
|
|
|
|
|
|
const onFetchCompanyInfo = async () => { |
|
|
|