Merge branch 'develop' of github.com:Frappet/bma-ehr-frontend into develop

This commit is contained in:
Kittapath 2023-09-23 20:45:36 +07:00
commit 52f89c16f1

View file

@ -37,7 +37,6 @@ const getData = async () => {
.get(config.API.msgInbox) .get(config.API.msgInbox)
.then((res: any) => { .then((res: any) => {
const data = res.data.result; const data = res.data.result;
console.log(data);
let list: DataInbox[] = []; let list: DataInbox[] = [];
data.map((e: ResponseInbox) => { data.map((e: ResponseInbox) => {
list.push({ list.push({
@ -76,7 +75,6 @@ const deleteData = (id: string) => {
// api // api
const removeData = async (id: string) => { const removeData = async (id: string) => {
console.log("delete=", id);
showLoader(); showLoader();
await http await http
.delete(config.API.msgInboxDelete(id)) .delete(config.API.msgInboxDelete(id))