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