Skip to content

Commit 2fdc387

Browse files
committed
prettier
1 parent 9e117eb commit 2fdc387

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

backend/test/controllers/rating-controller.spec.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ describe("RatingController", () => {
2424
beforeEach(() => {
2525
ratingService = new MockRatingService();
2626
settingsService = new MockSettingsService();
27-
controller = new RatingController(
28-
ratingService.instance,
29-
);
27+
controller = new RatingController(ratingService.instance);
3028
});
3129

3230
it("creates a rating and delegates to the rating service", async () => {
@@ -83,9 +81,7 @@ describe("RatingController", () => {
8381
useContainer({
8482
get(target: Function) {
8583
if (target === RatingController) {
86-
return new RatingController(
87-
ratingService.instance,
88-
);
84+
return new RatingController(ratingService.instance);
8985
}
9086
return new (target as any)();
9187
},

frontend/src/components/pages/view-project.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@ const EditProject = ({ project }: { project: ProjectDTO }) => {
9191
buttonText="Save Changes"
9292
buttonOnClick={sendSaveProjectRequest}
9393
buttonLoading={updateProjectInProgress}
94-
subTitle={isAdmin ? undefined : "You are part of the team of this project"}
94+
subTitle={
95+
isAdmin ? undefined : "You are part of the team of this project"
96+
}
9597
/>
9698
{updateProjectError && (
9799
<div style={{ marginBottom: "1rem" }}>

0 commit comments

Comments
 (0)