From 27fd467dbee5921563c936345aa3d893893fd42f Mon Sep 17 00:00:00 2001 From: b-avb Date: Fri, 11 Oct 2024 10:43:38 -0500 Subject: [PATCH] remove warns --- src/hooks/use_location.rs | 1 - src/pages/dashboard.rs | 2 +- src/pages/explore.rs | 2 +- src/pages/initiatives.rs | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/hooks/use_location.rs b/src/hooks/use_location.rs index 5884dbe..73e36c9 100644 --- a/src/hooks/use_location.rs +++ b/src/hooks/use_location.rs @@ -1,7 +1,6 @@ use dioxus::prelude::*; use serde::{Deserialize, Serialize}; use gloo::storage::{LocalStorage, Storage}; -use wasm_bindgen_futures::spawn_local; #[derive(Clone, Debug, Deserialize, Serialize)] pub struct Location { diff --git a/src/pages/dashboard.rs b/src/pages/dashboard.rs index 96bce39..10a5db1 100644 --- a/src/pages/dashboard.rs +++ b/src/pages/dashboard.rs @@ -6,7 +6,7 @@ use serde::{Deserialize, Serialize}; use crate::{ components::{ atoms::{ - avatar::Variant as AvatarVariant, dropdown::ElementSize, AddPlus, ArrowLeft, + avatar::Variant as AvatarVariant, dropdown::ElementSize, AddPlus, ArrowRight, Avatar, Badge, CardSkeleton, Compass, DynamicText, Icon, IconButton, SearchInput, Star, Tab, UserAdd, UserGroup, }, diff --git a/src/pages/explore.rs b/src/pages/explore.rs index 3fbcf02..2b90756 100644 --- a/src/pages/explore.rs +++ b/src/pages/explore.rs @@ -1,7 +1,7 @@ use crate::{ components::{ atoms::{ - avatar::Variant as AvatarVariant, dropdown::ElementSize, AddPlus, ArrowLeft, + avatar::Variant as AvatarVariant, dropdown::ElementSize, AddPlus, ArrowRight, Avatar, Badge, CardSkeleton, DynamicText, Icon, IconButton, SearchInput, Star, Tab, UserAdd, UserGroup, }, diff --git a/src/pages/initiatives.rs b/src/pages/initiatives.rs index 3f15f65..478b7b1 100644 --- a/src/pages/initiatives.rs +++ b/src/pages/initiatives.rs @@ -1,7 +1,7 @@ use crate::{ components::{ atoms::{ - dropdown::ElementSize, AddPlus, ArrowLeft, ArrowRight, Badge, CircleCheck, + dropdown::ElementSize, AddPlus, ArrowRight, Badge, CircleCheck, Icon, IconButton, SearchInput, StopSign, Tab, CardSkeleton, }, molecules::{paginator::PaginatorValue, tabs::TabItem, Paginator},