Skip to content

Commit 9996558

Browse files
chore(eslint): autofix eslint bugs
1 parent 1c1f19f commit 9996558

File tree

3 files changed

+23
-24
lines changed

3 files changed

+23
-24
lines changed

β€Žnext-env.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3-
/// <reference types="next/navigation-types/navigation" />
43

54
// NOTE: This file should not be edited
65
// see https://nextjs.org/docs/basic-features/typescript for more information.

β€Žsrc/app/[...not_found]/page.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { notFound } from "next/navigation";
1+
import { notFound } from 'next/navigation';
22

33
export default function NotFoundCatchAll() {
4-
notFound();
5-
return null;
6-
}
4+
notFound();
5+
return null;
6+
}

β€Žsrc/app/not-found.tsx

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
import { Metadata } from 'next';
22
import Link from 'next/link';
33
export const metadata: Metadata = {
4-
title: '404 PAGE NOT FOUND',
4+
title: '404 PAGE NOT FOUND',
55
};
66
export default function NotFound() {
7-
return (
8-
<div>
9-
<div>
10-
<div className="px-9 xl:px-28 mx-auto py-40">
11-
<h1 className="text-5xl font-bold text-slate-900 ">
12-
404 PAGE NOT FOUND
13-
</h1>
14-
<div className="flex justify-start mt-9">
15-
<Link
16-
className="bg-black/20 hover:bg-black/60 hover:backdrop-blur-lg ml-0 px-9 rounded-md text-slate-800 font-bold py-2 backdrop-blur-sm transition-colors duration-300 ease-in-out "
17-
href="/"
18-
>
19-
Go Back Home
20-
</Link>
21-
</div>
22-
</div>
23-
</div>
7+
return (
8+
<div>
9+
<div>
10+
<div className="px-9 xl:px-28 mx-auto py-40">
11+
<h1 className="text-5xl font-bold text-slate-900 ">
12+
404 PAGE NOT FOUND
13+
</h1>
14+
<div className="flex justify-start mt-9">
15+
<Link
16+
className="bg-black/20 hover:bg-black/60 hover:backdrop-blur-lg ml-0 px-9 rounded-md text-slate-800 font-bold py-2 backdrop-blur-sm transition-colors duration-300 ease-in-out "
17+
href="/"
18+
>
19+
Go Back Home
20+
</Link>
21+
</div>
2422
</div>
25-
);
23+
</div>
24+
</div>
25+
);
2626
}

0 commit comments

Comments
Β (0)