This commit is contained in:
Austin 2023-03-17 15:52:21 +00:00
parent ed91e19b3e
commit b49e3404f8
2 changed files with 1 additions and 4 deletions

View File

@ -88,7 +88,6 @@ impl Component for App {
self.route_dispatcher self.route_dispatcher
.send(RouteRequest::ReplaceRoute(Route::from(AppRoute::Login))); .send(RouteRequest::ReplaceRoute(Route::from(AppRoute::Login)));
} }
ConsoleService::log("update app");
true true
} }

View File

@ -7,13 +7,11 @@ use yew::prelude::*;
#[graphql( #[graphql(
schema_path = "../schema.graphql", schema_path = "../schema.graphql",
query_path = "queries/get_user_avatar.graphql", query_path = "queries/get_user_avatar.graphql",
response_derives = "Debug, Hash, PartialEq, Eq, Clone", response_derives = "Debug",
custom_scalars_module = "crate::infra::graphql" custom_scalars_module = "crate::infra::graphql"
)] )]
pub struct GetUserAvatar; pub struct GetUserAvatar;
pub type User = get_user_avatar::GetUserAvatarUser;
pub struct Avatar { pub struct Avatar {
common: CommonComponentParts<Self>, common: CommonComponentParts<Self>,
/// The user info. If none, the error is in `error`. If `error` is None, then we haven't /// The user info. If none, the error is in `error`. If `error` is None, then we haven't