Make use_future take an impl FnMut + 'static, don't include router prelude when we don't need to

This commit is contained in:
Jonathan Kelley committed 2024-01-31 16:33:53 -08:00
1 parent cbdd8108e6
commit 6818bbe10a
22 files changed
+12 -25

No files matched your search

-2
View File
@@ -14,8 +14,6 @@ pub(crate) mod views;
use oidc::{AuthRequestState, AuthTokenState};
use router::Route;
use dioxus::router::prelude::*;
use crate::{
constants::{DIOXUS_FRONT_AUTH_REQUEST, DIOXUS_FRONT_AUTH_TOKEN},
oidc::ClientState,