update provider

This commit is contained in:
Wikzyy
2025-03-25 13:58:05 +07:00
parent 50bd7980b2
commit 20421f2d00
3 changed files with 45 additions and 44 deletions

View File

@ -128,7 +128,7 @@ const EditDialog = () => {
const doFetchData = useCallback(async (id: string) => {
const response = await GetData(`${API_URL_MASTERDATA}/provider/getdata/${id}`, { id });
console.log(response);
// console.log(response);
if (response?.status) {
setFormField((prev) => ({
...prev,
@ -185,7 +185,7 @@ const EditDialog = () => {
}, [formattedTime]);
useEffect(() => {
getCustomerList([{ id: 'msisdn', desc: false }]);
getCustomerList([{ id: 'id', desc: false }]);
getTransactionTypeList([{ id: 'name', desc: false }]);
}, []);