fix Sidebar
This commit is contained in:
parent
65d5da7f81
commit
b58dab2f6f
@ -4,7 +4,6 @@
|
||||
|
||||
import type React from "react";
|
||||
import { useState, useEffect, useMemo } from "react";
|
||||
import DoctorLayout from "@/components/doctor-layout";
|
||||
import { useAuthLayout } from "@/hooks/useAuthLayout";
|
||||
import { appointmentsService } from "@/services/appointmentsApi.mjs";
|
||||
import { patientsService } from "@/services/patientsApi.mjs";
|
||||
@ -130,7 +129,7 @@ export default function DoctorAppointmentsPage() {
|
||||
};
|
||||
|
||||
if (isAuthLoading) {
|
||||
return <DoctorLayout><div>Carregando...</div></DoctorLayout>;
|
||||
return <Sidebar><div>Carregando...</div></Sidebar>;
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user