Skip to content

Commit 4d77eaa

Browse files
committed
fix: formatting
1 parent 01480e7 commit 4d77eaa

8 files changed

Lines changed: 10 additions & 10 deletions

File tree

thoth-api/src/model/title/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ use uuid::Uuid;
44

55
use crate::graphql::utils::Direction;
66

7-
#[cfg(feature = "backend")]
8-
use crate::schema::work_title;
97
#[cfg(feature = "backend")]
108
use crate::schema::title_history;
9+
#[cfg(feature = "backend")]
10+
use crate::schema::work_title;
1111

1212
#[cfg_attr(
1313
feature = "backend",

thoth-app/src/component/new_work.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,4 +709,4 @@ impl Component for NewWorkComponent {
709709
</>
710710
}
711711
}
712-
}
712+
}

thoth-app/src/component/related_works_form.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,4 +692,4 @@ impl RelatedWorksFormComponent {
692692
</div>
693693
}
694694
}
695-
}
695+
}

thoth-app/src/component/work.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ impl Component for WorkComponent {
328328
if !self.work.is_out_of_print() {
329329
self.work.withdrawn_date = None;
330330
}
331-
// TODO: Update title here also
331+
// TODO: Update title here also
332332
let body = UpdateWorkRequestBody {
333333
variables: UpdateVariables {
334334
work_id: self.work.work_id,
@@ -957,4 +957,4 @@ impl Component for WorkComponent {
957957
},
958958
}
959959
}
960-
}
960+
}

thoth-app/src/models/title/create_title_mutation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use serde::Deserialize;
22
use serde::Serialize;
3-
use thoth_api::model::title::Title;
43
use thoth_api::model::locale::LocaleCode;
4+
use thoth_api::model::title::Title;
55
use uuid::Uuid;
66

77
const CREATE_TITLE_MUTATION: &str = "

thoth-app/src/models/title/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use serde::Deserialize;
22
use serde::Serialize;
3-
use thoth_api::model::locale::LocaleCode;
43
use thoth_api::model::language::LanguageRelation;
4+
use thoth_api::model::locale::LocaleCode;
55

66
#[derive(Debug, Clone, Default, Serialize, Deserialize, PartialEq, Eq)]
77
#[serde(rename_all = "camelCase")]

thoth-app/src/models/title/update_title_mutation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use serde::Deserialize;
22
use serde::Serialize;
3-
use thoth_api::model::title::Title;
43
use thoth_api::model::locale::LocaleCode;
4+
use thoth_api::model::title::Title;
55
use uuid::Uuid;
66

77
const UPDATE_TITLE_MUTATION: &str = "

thoth-app/src/models/work/create_work_mutation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
use chrono::NaiveDate;
22
use serde::Deserialize;
33
use serde::Serialize;
4-
use thoth_api::model::work::{Work, WorkWithRelations};
54
use thoth_api::model::work::WorkStatus;
65
use thoth_api::model::work::WorkType;
6+
use thoth_api::model::work::{Work, WorkWithRelations};
77
use thoth_api::model::Doi;
88
use uuid::Uuid;
99

0 commit comments

Comments
 (0)