fix: main lint errors (#18634)
* fix: error-page.tsx related lint errors * fix: lint no continue-on-error * Adding more lint fixes * Bring back annotate code linting results * Bring back linting continue-on-error * Slimline lint
This commit is contained in:
1 parent
96ff88d266
commit
68455db860
4 files changed
+8
-18
No files matched your search
@@ -22,4 +22,3 @@ export const generateMetadata = async ({ params, searchParams }: PageProps) => {
|
||||
const getData = withAppDirSsr<OnboardingPageProps>(getServerSideProps);
|
||||
|
||||
export default WithLayout({ getLayout: null, getData, Page });
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { PageProps } from "app/_types";
|
||||
import type { PageProps } from "app/_types";
|
||||
import { _generateMetadata } from "app/_utils";
|
||||
import { WithLayout } from "app/layoutHOC";
|
||||
import { redirect } from "next/navigation";
|
||||
|
||||
@@ -59,10 +59,12 @@ export const ErrorPage: React.FC<Props> = (props) => {
|
||||
<div className="bg-subtle flex h-screen">
|
||||
<div className="rtl: bg-default m-auto rounded-md p-10 text-right ltr:text-left">
|
||||
<h1 className="font-cal text-emphasis text-6xl">{statusCode}</h1>
|
||||
<h2 className="text-emphasis mt-6 max-w-2xl text-2xl font-medium">It's not you, it's us.</h2>
|
||||
<h2 className="text-emphasis mt-6 max-w-2xl text-2xl font-medium">
|
||||
It's not you, it's us.
|
||||
</h2>
|
||||
<p className="text-default mb-6 mt-4 max-w-2xl text-sm">
|
||||
Something went wrong on our end. Get in touch with our support team, and we'll get it fixed right
|
||||
away for you.
|
||||
Something went wrong on our end. Get in touch with our support team, and we'll get it fixed
|
||||
right away for you.
|
||||
</p>
|
||||
|
||||
<div className="mb-8 flex flex-col">
|
||||
|
||||
Reference in new issue
Block a user