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
+2 -1
View File
@@ -6,7 +6,7 @@ import ItemAppointment from './ItemAppointment';
import ArrowLeftD from '@/components/icons/ArrowLeftD';
import Link from 'next/link';
function AppointmentList({ doctor }) {
function AppointmentList({ doctor, loading }) {
const itemActive = turns[0];
@@ -18,6 +18,7 @@ function AppointmentList({ doctor }) {
turn={item}
key={item.id}
doctor={doctor}
loading={loading}
/>
))}
</ul>