Compare commits

...

2 Commits

Author SHA1 Message Date
ef5f7ef2e0 Merge pull request '🚨 fix: resolve linting errors' (#5) from fix/lint into main
All checks were successful
Sync to GitHub / sync (push) Successful in 7s
Reviewed-on: #5
2026-02-10 20:37:39 +07:00
34eb8d3a8b 🚨 fix: resolve linting errors
All checks were successful
Integration Tests / integration-tests (pull_request) Successful in 41s
2026-02-10 20:36:19 +07:00
4 changed files with 4 additions and 5 deletions

View File

@ -8,7 +8,7 @@ const page = async () => {
try {
const data = await backendFetch("status");
console.log(data);
} catch (_) {
} catch {
isDown = true;
}
if (!isDown) redirect("/");

View File

@ -1,7 +1,6 @@
import type { Metadata } from "next";
import { Geist, Geist_Mono, Inter } from "next/font/google";
import "./globals.css";
import AuthSessionProviderWrapper from "@/shared/providers/AuthSession";
const inter = Inter({ subsets: ["latin"], variable: "--font-sans" });

View File

@ -18,8 +18,8 @@ const StatusIndex = () => {
Service is temporarily unavailable
</h1>
<p className="text-sm text-neutral-300 mt-2">
We're currently experiencing an issue with this service and our team
is working to restore it as quickly as possible. You can still
We&apos;re currently experiencing an issue with this service and our
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
a few moments. We appreciate your patience.
</p>

View File

@ -42,7 +42,7 @@ export const backendFetch = async (path: string, options: RequestInit = {}) => {
}
return resJson;
} catch (error) {
} catch {
redirect("/status?reason=backend-unreachable");
}
};