delete logs

This commit is contained in:
Alihaghighattalab
2024-08-18 13:50:05 +03:30
parent 93e7c3b206
commit 59b83b9d1b
4 changed files with 3 additions and 18 deletions
@@ -1,6 +1,6 @@
import { installationReportsCol } from "../../utility/reports"
import { Table } from "../common/table"
import { useEffect, useState } from "react"
import { useState } from "react"
import { SortingState } from "@tanstack/react-table"
import { useQuery } from "@tanstack/react-query"
import { getRegisterDeviceList } from "../../services/api/register-device"
@@ -11,10 +11,6 @@ export const InstallationReports = () => {
queryKey: ["register-device"],
queryFn: getRegisterDeviceList
})
useEffect(() => {
console.log("data =>", data)
}, [data])
return (
<Table columns={installationReportsCol} data={data?.data?.data} sorting={sorting} setSorting={setSorting} isLoading={isLoading} />