mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
refactor: Clean up whitespace in various components for improved readability
This commit is contained in:
@@ -27,5 +27,5 @@ export default interface ProbeMonitorResponse {
|
||||
customCodeMonitorResponse?: CustomCodeMonitorResponse | undefined;
|
||||
monitoredAt: Date;
|
||||
isTimeout?: boolean | undefined;
|
||||
ingestedAt?: Date | undefined;
|
||||
ingestedAt?: Date | undefined;
|
||||
}
|
||||
|
||||
@@ -62,7 +62,6 @@ const Page: FunctionComponent<ComponentProps> = (
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
|
||||
|
||||
{props.sideMenu && (
|
||||
<main className="mx-auto max-w-full pb-10">
|
||||
|
||||
@@ -89,7 +89,7 @@ const Pagination: FunctionComponent<ComponentProps> = (
|
||||
)}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
{/* Desktop layout: All controls together on right */}
|
||||
<div className="hidden md:flex">
|
||||
<nav className="inline-flex -space-x-px rounded-md shadow-sm">
|
||||
@@ -181,7 +181,7 @@ const Pagination: FunctionComponent<ComponentProps> = (
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
||||
<div className="md:hidden">
|
||||
<nav className="inline-flex -space-x-px rounded-md shadow-sm">
|
||||
<ul>
|
||||
@@ -243,7 +243,6 @@ const Pagination: FunctionComponent<ComponentProps> = (
|
||||
<span>Next</span>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -255,7 +255,7 @@ router.post(
|
||||
);
|
||||
}
|
||||
|
||||
// this is when the resource was ingested.
|
||||
// this is when the resource was ingested.
|
||||
probeResponse.ingestedAt = OneUptimeDate.getCurrentDate();
|
||||
|
||||
MonitorResourceUtil.monitorResource(probeResponse).catch((err: Error) => {
|
||||
|
||||
@@ -158,15 +158,14 @@ const DashboardMasterPage: FunctionComponent<ComponentProps> = (
|
||||
|
||||
useAsyncEffect(async () => {
|
||||
try {
|
||||
|
||||
setIsLoading(true);
|
||||
|
||||
|
||||
const id: ObjectID = await getId();
|
||||
|
||||
|
||||
setStatusPageId(id);
|
||||
|
||||
|
||||
StatusPageUtil.setStatusPageId(id);
|
||||
|
||||
|
||||
const response: HTTPResponse<JSONObject> = await API.post<JSONObject>(
|
||||
URL.fromString(STATUS_PAGE_API_URL.toString()).addRoute(
|
||||
`/master-page/${id.toString()}`,
|
||||
|
||||
Reference in New Issue
Block a user