File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,9 +33,9 @@ function DonatedBarcodePage() {
3333}
3434
3535function App ( ) {
36- const handleAddProgram = formData => {
37- console . log ( 'Adding new program:' , formData ) ;
38- } ;
36+ const handleAddProgram = formData => {
37+ console . log ( 'Adding new program:' , formData ) ;
38+ } ;
3939
4040 return (
4141 < div
@@ -109,6 +109,19 @@ function App() {
109109 </ ProtectedRoute >
110110 }
111111 />
112+ { /* New admin review route */ }
113+ < Route
114+ path = "/admin/image-review"
115+ element = { < AdminImageReview /> }
116+ />
117+ < Route
118+ path = "/admin/image-review/:id"
119+ element = {
120+ < ProtectedRoute allowedRole = "ADMIN" >
121+ < AdminImageReview />
122+ </ ProtectedRoute >
123+ }
124+ />
112125 < Route path = "/contact" element = { < Contact /> } />
113126
114127 { /* New routes: view barcode for a donated item (both variants) */ }
You can’t perform that action at this time.
0 commit comments