Skip to content

Commit 3d86cf4

Browse files
committed
style(Frontend): 🎨 FMT
1 parent a9fad80 commit 3d86cf4

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

frontend/src/components/paginate_table.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ where
8080
<p>No result</p>
8181
</tr>
8282
}.into_view()),
83-
8483
Err(v)=>Err(v),
8584
Ok(v) => Ok(v
8685
.into_iter()

frontend/src/pages/problem/editor.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,10 @@ pub fn ProblemEditor() -> impl IntoView {
5959
match v {
6060
Ok((id, problem_id)) => {
6161
toast(ToastVariant::Success, "Problem Submit".into_view());
62-
navigate(&format!("/problem/{problem_id}/submission/{id}"), Default::default())
62+
navigate(
63+
&format!("/problem/{problem_id}/submission/{id}"),
64+
Default::default(),
65+
)
6366
}
6467
Err(err) => toast(
6568
ToastVariant::Success,

frontend/src/pages/problem/submissions.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ pub fn ProblemSubmissions() -> impl IntoView {
7070
v.map(|v| {
7171
v.into_iter()
7272
.map(|info| {
73-
7473
let when:DateTime<Utc>=info.upload_time.into();
7574
(
7675
format!("/submission/{}", info.id),

0 commit comments

Comments
 (0)