feat(mobile): improve search UX and ImageDetails orientation UX
continuous-integration/webhook Deploy concluído (VPS4)
continuous-integration/webhook Deploy concluído (VPS4)
This commit is contained in:
@@ -14,6 +14,7 @@ import DownloadPage from './pages/DownloadPage';
|
||||
import PatientsPage from './pages/PatientsPage';
|
||||
import SettingsPage from './pages/SettingsPage';
|
||||
import GtosPage from './pages/GtosPage';
|
||||
import ImageDetailsPage from './pages/ImageDetailsPage';
|
||||
|
||||
export default function App() {
|
||||
return (
|
||||
@@ -76,6 +77,12 @@ export default function App() {
|
||||
</ProtectedRoute>
|
||||
} />
|
||||
|
||||
<Route path="/patients/:patientName/image/:imageId" element={
|
||||
<ProtectedRoute>
|
||||
<ImageDetailsPage />
|
||||
</ProtectedRoute>
|
||||
} />
|
||||
|
||||
{/* Catch-all: redireciona para home */}
|
||||
<Route path="*" element={<Navigate to="/" replace />} />
|
||||
</Routes>
|
||||
|
||||
Reference in New Issue
Block a user