diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-07-04 15:45:23 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-07-04 15:45:23 +0700 |
| commit | 67d283bb61d7167e7c6460293f3c5669eacf3b63 (patch) | |
| tree | f5e45236e542bccccb0400d7f405c651e117d67b /src/modules/result/components/Table.tsx | |
| parent | a50bc458c9f9dfff8fa9902afa51769e8a282c0c (diff) | |
<iman> delete console log
Diffstat (limited to 'src/modules/result/components/Table.tsx')
| -rw-r--r-- | src/modules/result/components/Table.tsx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/modules/result/components/Table.tsx b/src/modules/result/components/Table.tsx index 19a1e8b..555c8af 100644 --- a/src/modules/result/components/Table.tsx +++ b/src/modules/result/components/Table.tsx @@ -58,7 +58,6 @@ const Table = () => { setExportLoad(true); const response = await fetch(`/api/stock-opname/export?companyId=${filter.company}`); const buffer = await response.arrayBuffer(); - console.log({ type: response.headers.get("type") }); const blob = new Blob([buffer], { type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" }); const url = window.URL.createObjectURL(blob); @@ -80,9 +79,7 @@ const Table = () => { const recompute = async (productId: number, companyId: string) => { const response = await fetch(`/api/company/${companyId}/product/${productId}/compute-different`, { method: "POST" }); - console.log("response", response); const stockOpname = await response.json(); - console.log("stockOpname", stockOpname); toast(`Berhasil menghitung ulang status barang, hasilnya ${stockOpname.data.isDifferent ? "selisih" : "aman"}`); stockOpnames.refetch(); }; |
