complete loading table - design pagination -
This commit is contained in:
@@ -16,9 +16,7 @@ export const Score = () => {
|
||||
console.log("data =>", data)
|
||||
}, [data])
|
||||
|
||||
if (isLoading) return <p>LOADING ...</p>
|
||||
|
||||
return (
|
||||
<Table sorting={sorting} setSorting={setSorting} columns={scoresCol} data={data?.data} tableStatus={data?.score} />
|
||||
<Table sorting={sorting} setSorting={setSorting} columns={scoresCol} data={data?.data} tableStatus={data?.score} isLoading={isLoading} />
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user