diff --git a/src/pages/Agendamentos.jsx b/src/pages/Agendamentos.jsx deleted file mode 100644 index 537d8da..0000000 --- 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 feaca74..e5105ef 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

-