handle download poster and qrcode, fix to show timestamp, add pagination to doctors page
This commit is contained in:
+1
-2
@@ -26,11 +26,10 @@ async function Doctors({ searchParams }) {
|
||||
|
||||
const params = buildDoctorParams(newSearchParams);
|
||||
|
||||
|
||||
const response = await axios.get(`${API_URL}/api/v1/doctors`, {
|
||||
params,
|
||||
});
|
||||
doctors = response.data.data;
|
||||
doctors = response.data;
|
||||
} catch (error) {
|
||||
console.error("Error fetching doctors:", error);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user