Skip to content

Commit

Permalink
style(Frontend): 🎨 Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
KAIYOHUGO committed Sep 3, 2024
1 parent 5964890 commit 4cc275f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/pages/problem/editor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pub fn ProblemEditor() -> impl IntoView {
let params = use_params::<EditorParams>();
let token = use_token();
let scope = create_query(fetcher, Default::default());
let query = scope.use_query(move || token());
let query = scope.use_query(token);

let editor = move || {
query.data.get().map(|v| {
Expand Down
1 change: 0 additions & 1 deletion frontend/src/pages/problem/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ pub use editor::ProblemEditor;
pub use education::ProblemEducation;
use leptos::*;
use leptos_icons::*;
use leptos_query::*;
use leptos_router::*;
pub use submission::ProblemSubmission;

Expand Down

0 comments on commit 4cc275f

Please sign in to comment.