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
View File
@@ -1,4 +1,4 @@
import { useEffect, useState } from "react"
import { useState } from "react"
import { Table } from "../common/table"
import { SortingState } from "@tanstack/react-table"
import { scoresCol } from "../../utility/score"
@@ -11,11 +11,6 @@ export const Score = () => {
queryKey: ["score-list"],
queryFn: getScoresList
})
useEffect(() => {
console.log("data =>", data)
}, [data])
return (
<Table sorting={sorting} setSorting={setSorting} columns={scoresCol} data={data?.data} tableStatus={data?.score} isLoading={isLoading} />
)