complete loading table - design pagination -
This commit is contained in:
@@ -15,9 +15,8 @@ export const InstallationReports = () => {
|
||||
useEffect(() => {
|
||||
console.log("data =>", data)
|
||||
}, [data])
|
||||
|
||||
if (isLoading) return <p>LODING .....</p>
|
||||
|
||||
return (
|
||||
<Table columns={installationReportsCol} data={data?.data?.data} sorting={sorting} setSorting={setSorting} />
|
||||
<Table columns={installationReportsCol} data={data?.data?.data} sorting={sorting} setSorting={setSorting} isLoading={isLoading} />
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user