Pequenas alterações
This commit is contained in:
parent
db212835bf
commit
7ea6c89e83
@ -89,7 +89,7 @@ const Details = () => {
|
||||
<h3 className="mb-3 text-center">MediConnect</h3>
|
||||
<hr />
|
||||
<div className="d-flex justify-content-between align-items-center mb-3">
|
||||
<Link to={'/pacientes'}>
|
||||
<Link to={'pacientes'}>
|
||||
<button className="btn btn-success me-2" >
|
||||
<i className="bi bi-chevron-left"></i> Voltar
|
||||
</button>
|
||||
@ -107,7 +107,7 @@ const Details = () => {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<Link to={`/pacientes/${paciente.id}/edit`}>
|
||||
<Link to={`edit`}>
|
||||
<button className="btn btn-light" >
|
||||
<i className="bi bi-pencil-square"></i> Editar
|
||||
</button>
|
||||
|
||||
@ -115,7 +115,7 @@ function TablePaciente({ setCurrentPage, setPatientID }) {
|
||||
|
||||
fetch("https://yuanqfswhberkoevtmfr.supabase.co/rest/v1/patients", requestOptions)
|
||||
.then(response => response.json())
|
||||
.then(result => console.log(result))
|
||||
.then(result => setPacientes(result))
|
||||
.catch(error => console.log('error', error));
|
||||
}, [isAuthenticated, getAuthorizationHeader]);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user