add loading all page & change bugs
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user