install and handle casle & prevent page dashboard & handle register and code verfication & get data in clinics page

This commit is contained in:
Ehsan
2025-05-27 03:40:06 +03:30
parent a9f98aea3b
commit d95815d4aa
27 changed files with 336 additions and 206 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ import Pageguide from "@/app/component/Pageguide";
import ItemClinic from "./ItemClinic";
import Pagination from "@/app/component/Pagination";
function List({ loading, selected, clinics }) {
function List({ selected, clinics }) {
const listPage = ["کلینیک ها", selected?.city || ""];
return (
@@ -18,7 +18,7 @@ function List({ loading, selected, clinics }) {
gap-y-[16px] sm:gap-y-[24px] md:gap-y-[32px] lg:gap-y-[40px] mt-6"
>
{clinics.map((item) => (
<ItemClinic data={item} key={item.id} loading={loading} />
<ItemClinic data={item} key={item.id} />
))}
</ul>
)}