remove logs
This commit is contained in:
@@ -148,8 +148,6 @@ export async function fetchViolationStats() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export async function getFileViolations(fileId: string, page: number) {
|
export async function getFileViolations(fileId: string, page: number) {
|
||||||
console.log('getFileViolations');
|
|
||||||
console.log(page);
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const response = await fetch(`${API_BASE_URL}/api/v1/data`, {
|
const response = await fetch(`${API_BASE_URL}/api/v1/data`, {
|
||||||
|
|||||||
@@ -43,10 +43,6 @@ export default function ViolationPageViolationsList({
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
useEffect(() => {
|
|
||||||
console.log(fileViolations);
|
|
||||||
}, [fileViolations])
|
|
||||||
|
|
||||||
const handlePageChange = (page: number) => {
|
const handlePageChange = (page: number) => {
|
||||||
router.push(`${pathname}?page=${page}`);
|
router.push(`${pathname}?page=${page}`);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user