Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
langyo committed Dec 15, 2023
1 parent de9b5f6 commit f0494f0
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions packages/yew-router/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,9 @@ pub mod history {
//! A module that provides universal session history and location information.
pub use gloo::history::{
AnyHistory, History, HistoryError, HistoryResult, Location, MemoryHistory,
AnyHistory, BrowserHistory, HashHistory, History, HistoryError, HistoryResult, Location,
MemoryHistory,
};
#[cfg(not(target_os = "wasi"))]
pub use gloo::history::{BrowserHistory, HashHistory};
}

pub mod prelude {
Expand All @@ -103,7 +102,5 @@ pub mod prelude {
pub use crate::scope_ext::{LocationHandle, NavigatorHandle, RouterScopeExt};
#[doc(no_inline)]
pub use crate::Routable;
#[cfg(not(target_os = "wasi"))]
pub use crate::{BrowserRouter, HashRouter};
pub use crate::{Router, Switch};
pub use crate::{BrowserRouter, HashRouter, Router, Switch};
}

0 comments on commit f0494f0

Please sign in to comment.