diff --git a/dental-server/dental-client/src/App.jsx b/dental-server/dental-client/src/App.jsx index 79629c9..fa51a94 100644 --- a/dental-server/dental-client/src/App.jsx +++ b/dental-server/dental-client/src/App.jsx @@ -34,7 +34,7 @@ export default function App() { } /> - @@ -83,7 +83,7 @@ export default function App() { } /> - diff --git a/dental-server/dental-client/src/pages/DashboardPage.jsx b/dental-server/dental-client/src/pages/DashboardPage.jsx index 1136e08..de89ae5 100644 --- a/dental-server/dental-client/src/pages/DashboardPage.jsx +++ b/dental-server/dental-client/src/pages/DashboardPage.jsx @@ -232,7 +232,7 @@ export default function DashboardPage() { }; const openPatient = (patient) => { - navigate('/patient/' + encodeURIComponent(patient.patient_name)); + navigate('/' + encodeURIComponent(patient.patient_name)); }; const goBack = () => { @@ -472,7 +472,7 @@ export default function DashboardPage() {