Skip to content

Commit

Permalink
lint: pass cargo clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
HoKim98 committed Jul 19, 2024
1 parent 4197e47 commit 24ed554
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/cassette-plugin-kubernetes-list/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ impl ComponentRenderer<Spec> for State {
};
let lp = ListParams::default();

match &*use_kubernetes_list(ctx, api, lp).get() {
match use_kubernetes_list(ctx, api, lp).get() {
FetchState::Pending | FetchState::Fetching => Ok(TaskState::Break {
body: html! { <Loading /> },
state: None,
Expand Down
2 changes: 1 addition & 1 deletion crates/cassette-plugin-openai-chat/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ impl ComponentRenderer<Spec> for State {
});
}

match &*crate::hooks::use_fetch(ctx, &base_url, request).get() {
match crate::hooks::use_fetch(ctx, &base_url, request).get() {
FetchState::Pending | FetchState::Fetching => Ok(TaskState::Break {
body: html! { <Loading /> },
state: None,
Expand Down

0 comments on commit 24ed554

Please sign in to comment.