From a502bbdffe574a14ee2e4d001cecd131ce215c4a Mon Sep 17 00:00:00 2001 From: pedrofedericoo Date: Sat, 13 Sep 2025 13:38:41 -0300 Subject: [PATCH] agendamentos no incio --- src/pages/Agendamentos.jsx | 12 ------------ src/pages/Inicio.jsx | 6 +++--- 2 files changed, 3 insertions(+), 15 deletions(-) delete mode 100644 src/pages/Agendamentos.jsx diff --git a/src/pages/Agendamentos.jsx b/src/pages/Agendamentos.jsx deleted file mode 100644 index 537d8da1..00000000 --- a/src/pages/Agendamentos.jsx +++ /dev/null @@ -1,12 +0,0 @@ -import React from 'react'; - -function Agendamentos() { - return ( -
-

Página de Agendamentos

- -
- ); -} - -export default Agendamentos; \ No newline at end of file diff --git a/src/pages/Inicio.jsx b/src/pages/Inicio.jsx index feaca74f..e5105efd 100644 --- a/src/pages/Inicio.jsx +++ b/src/pages/Inicio.jsx @@ -19,7 +19,7 @@ function Inicio({ setCurrentPage }) { const fetchAgendamentos = async () => { try { - const res = await fetch("SUA_URL_DA_API_DE_AGENDAMENTOS"); + const res = await fetch(); const data = await res.json(); setAgendamentos(data.data); } catch (error) { @@ -99,7 +99,7 @@ function Inicio({ setCurrentPage }) { Ver todos os pacientes -
setCurrentPage('Agendamentos')}> +
setCurrentPage('agendamento')}>
Agendamentos @@ -124,7 +124,7 @@ function Inicio({ setCurrentPage }) {

Nenhum agendamento para hoje

-