Skip to content

Commit 25ea2e4

Browse files
committed
Fix formatting
1 parent 9f6349f commit 25ea2e4

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

frontend/app/officer/[uid]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ export default function OfficerDetailsPage() {
4646
<DetailsTabs {...officer} />
4747
</DetailsLayout>
4848
)
49-
}
49+
}

frontend/app/search/SearchResults.tsx

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
11
"use client"
22

33
import Link from "next/link"
4-
import {
5-
Tab,
6-
Tabs,
7-
Box,
8-
Card,
9-
CardHeader,
10-
CardActionArea,
11-
Typography
12-
} from "@mui/material"
4+
import { Tab, Tabs, Box, Card, CardHeader, CardActionArea, Typography } from "@mui/material"
135
import React from "react"
146
import { SearchResponse } from "@/utils/api"
157

@@ -110,9 +102,7 @@ const SearchResults = ({ total, results, tab, updateTab }: SearchResultsProps) =
110102
<span style={{ fontSize: "12px", color: "#566" }}>
111103
{result.content_type}``
112104
</span>
113-
<span style={{ fontSize: "12px", color: "#566" }}>
114-
{result.source}
115-
</span>
105+
<span style={{ fontSize: "12px", color: "#566" }}>{result.source}</span>
116106
<span style={{ fontSize: "12px", color: "#566" }}>
117107
{result.last_updated}
118108
</span>
@@ -159,4 +149,4 @@ const CustomTabPanel = ({ children, value, index, ...other }: TabPanelProps) =>
159149
)
160150
}
161151

162-
export default SearchResults
152+
export default SearchResults

0 commit comments

Comments
 (0)