Frontend import fixed

This commit is contained in:
LinlyBoi
2022-12-30 23:49:05 +02:00
parent a530303f73
commit 9e5caf2043

View File

@@ -1,7 +1,7 @@
mod fetching; mod fetching;
use yew::prelude::*; use yew::prelude::*;
use crate::fetching::{DriverComponent, TextRequestComponent}; use crate::fetching::DriverComponent;
#[function_component] #[function_component]
fn App() -> Html { fn App() -> Html {
@@ -12,7 +12,6 @@ fn App() -> Html {
<h2> {"Drivers"} </h2> <h2> {"Drivers"} </h2>
<DriverComponent {entered_id}/> <DriverComponent {entered_id}/>
<h2> {"Admins and Tickets" } </h2> <h2> {"Admins and Tickets" } </h2>
<TextRequestComponent/>
</div> </div>
} }
} }