add loading all page & change bugs

This commit is contained in:
Ehsan
2024-09-05 22:20:18 +03:30
parent 087ed4a818
commit c45a161fcb
72 changed files with 1208 additions and 661 deletions
+3 -2
View File
@@ -3,9 +3,9 @@ import clinics from '@/data/clinics.json';
import ItemClinic from "./ItemClinic";
import Pagination from "@/app/component/Pagination";
function List() {
function List({ loading }) {
const listPage = ['کلینیک ها', 'اهواز']
const listPage = ['کلینیک ها', 'اهواز'];
return (
<div className="padding-responsive pt-[20px]">
@@ -18,6 +18,7 @@ function List() {
<ItemClinic
data={item}
key={item.id}
loading={loading}
/>
))}
</ul>