criticisms

This commit is contained in:
hamid zarghami
2025-10-22 15:37:41 +03:30
parent 8ec11d2711
commit edadb01702
9 changed files with 479 additions and 2 deletions
@@ -0,0 +1,17 @@
// API service functions commented out - using static data instead
// import axios from "../../../config/axios";
// export const getCriticismsList = async (page: number) => {
// const { data } = await axios.get(`/criticisms?page=${page}`);
// return data;
// };
// export const getCriticismsDetail = async (id: string) => {
// const { data } = await axios.get(`/criticisms/${id}`);
// return data;
// };
// export const deleteCriticisms = async (id: string) => {
// const { data } = await axios.delete(`/criticisms/${id}`);
// return data;
// };