🚨 fix: resolve linting errors
All checks were successful
Integration Tests / integration-tests (pull_request) Successful in 41s
All checks were successful
Integration Tests / integration-tests (pull_request) Successful in 41s
This commit is contained in:
@ -8,7 +8,7 @@ const page = async () => {
|
|||||||
try {
|
try {
|
||||||
const data = await backendFetch("status");
|
const data = await backendFetch("status");
|
||||||
console.log(data);
|
console.log(data);
|
||||||
} catch (_) {
|
} catch {
|
||||||
isDown = true;
|
isDown = true;
|
||||||
}
|
}
|
||||||
if (!isDown) redirect("/");
|
if (!isDown) redirect("/");
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Geist, Geist_Mono, Inter } from "next/font/google";
|
import { Geist, Geist_Mono, Inter } from "next/font/google";
|
||||||
import "./globals.css";
|
import "./globals.css";
|
||||||
import AuthSessionProviderWrapper from "@/shared/providers/AuthSession";
|
|
||||||
|
|
||||||
const inter = Inter({ subsets: ["latin"], variable: "--font-sans" });
|
const inter = Inter({ subsets: ["latin"], variable: "--font-sans" });
|
||||||
|
|
||||||
|
|||||||
@ -18,8 +18,8 @@ const StatusIndex = () => {
|
|||||||
Service is temporarily unavailable
|
Service is temporarily unavailable
|
||||||
</h1>
|
</h1>
|
||||||
<p className="text-sm text-neutral-300 mt-2">
|
<p className="text-sm text-neutral-300 mt-2">
|
||||||
We're currently experiencing an issue with this service and our team
|
We're currently experiencing an issue with this service and our
|
||||||
is working to restore it as quickly as possible. You can still
|
team is working to restore it as quickly as possible. You can still
|
||||||
browse other features while we fix the problem. Please check back in
|
browse other features while we fix the problem. Please check back in
|
||||||
a few moments. We appreciate your patience.
|
a few moments. We appreciate your patience.
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@ -42,7 +42,7 @@ export const backendFetch = async (path: string, options: RequestInit = {}) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return resJson;
|
return resJson;
|
||||||
} catch (error) {
|
} catch {
|
||||||
redirect("/status?reason=backend-unreachable");
|
redirect("/status?reason=backend-unreachable");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user