remove log

This commit is contained in:
Warunee Tamkoo 2023-09-23 19:27:17 +07:00
parent e1c4745c35
commit ad21b0ad5b

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))