diff options
Diffstat (limited to 'src/routes/index.js')
-rw-r--r-- | src/routes/index.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/routes/index.js b/src/routes/index.js index d6688c8..2a2669b 100644 --- a/src/routes/index.js +++ b/src/routes/index.js @@ -4,6 +4,8 @@ import { Route, Routes } from 'react-router-dom' import Home from '../pages/Home/Home' import Enrollment from '../pages/Enrollment/Enrollment' import Update from '../pages/Update/Update' +import PhotoCapture from '../pages/PhotoCapture/PhotoCapture' +import DocumentScanner from '../pages/DocumentScanner/DocumentScanner' const Index = () => { return ( @@ -15,6 +17,12 @@ const Index = () => { <Route path="update"> <Route index element={<Update />} /> </Route> + <Route path="photo"> + <Route index element={<PhotoCapture />} /> + </Route> + <Route path="documents"> + <Route index element={<DocumentScanner />} /> + </Route> </Routes> ) } |