This commit is contained in:
Raja Oktafrianto
2025-04-29 16:18:27 +07:00
parent 46ffe9fb3c
commit 5f71203efc

View File

@ -135,7 +135,7 @@ const ManageNotifContextProvider = ({ children }: { children: React.ReactNode })
order_direction: sorting[0].desc == false ? 'ASC' : 'DESC', order_direction: sorting[0].desc == false ? 'ASC' : 'DESC',
filter: JSON.stringify(filter) filter: JSON.stringify(filter)
}); });
// console.log('API Response notif: ', response); // console.log('API Response notif: ', response.);
return { data: response?.data.list, totalCount: response?.data.total_count }; return { data: response?.data.list, totalCount: response?.data.total_count };
} catch (error) { } catch (error) {
console.error('Error fetching notification', error); console.error('Error fetching notification', error);