Skip to content

Commit

Permalink
fix unused engine import
Browse files Browse the repository at this point in the history
  • Loading branch information
GauravTalreja committed Jul 27, 2023
1 parent 4a65f9c commit 823a08f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/templates/details.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
use std::cmp::Ordering;

use crate::{
components::layout::{Layout, SearchBarProps, ThemeProps},
global_state::AppStateRx,
Expand Down Expand Up @@ -52,6 +50,7 @@ fn details_page<'a, G: Html>(cx: BoundedScope<'_, 'a>, state: &'a DetailStateRx)
.send()
.await
.unwrap();
use std::cmp::Ordering;
match body.json::<Vec<OfferingDetail>>().await {
Ok(mut details) => state.offering_details.set({
details.iter_mut().for_each(|offering| {
Expand Down

0 comments on commit 823a08f

Please sign in to comment.