Skip to content

Commit

Permalink
minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
The-DevBlog committed Feb 18, 2024
1 parent 13f6a44 commit c34e762
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions devblog/devblog/client/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use api::*;
use components::navbar::Navbar;
use models::*;
use store::Store;
use stylist::yew::Global;
use stylist::{yew::Global, Style};
use yew::{function_component, html, Html};
use yew_router::{BrowserRouter, Switch};

Expand All @@ -28,13 +28,13 @@ fn main() {
#[function_component(App)]
pub fn app() -> Html {
html! {
<div>
<>
<Global css={STYLE} />
<BrowserRouter>
<Navbar />
<Switch<Route> render={switch} />
<Footer />
</BrowserRouter>
</div>
</>
}
}

0 comments on commit c34e762

Please sign in to comment.