summary refs log tree commit diff stats
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index a488d95..3813ebb 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -31,7 +31,7 @@ use reactive_stores::Store;
 use rocie_client::apis::configuration::Configuration;
 
 use crate::{
-    components::inventory::Inventory,
+    components::{buy::Buy, inventory::Inventory},
     pages::{home::Home, not_found::NotFound},
 };
 
@@ -78,6 +78,12 @@ pub fn App() -> impl IntoView {
                         view! { <Inventory /> }
                     }
                 />
+                <Route
+                    path=path!("/buy")
+                    view=move || {
+                        view! { <Buy /> }
+                    }
+                />
             </Routes>
         </Router>
     }