diff --git a/src/app/about/page.tsx b/src/app/about/page.tsx
index d61a518..370775b 100644
--- a/src/app/about/page.tsx
+++ b/src/app/about/page.tsx
@@ -1,16 +1,14 @@
-/* eslint-disable react/no-unescaped-entities */
-
export default function About() {
return (
<>
- so hey, i'm naresh!
+ so hey, i'm naresh!
- i'm an engineer and i love building things and tinkering on things.
+ i'm an engineer and i love building things and tinkering on things.
i like going on runs and going for rides on my bike.
-
umm, maybe i'll write more here later.
+
umm, maybe i'll write more here later.
>
);
}
diff --git a/src/app/blog/[[...tag]]/page.tsx b/src/app/blog/[[...tag]]/page.tsx
index bc1b17d..c5d14b0 100644
--- a/src/app/blog/[[...tag]]/page.tsx
+++ b/src/app/blog/[[...tag]]/page.tsx
@@ -20,6 +20,7 @@ export default async function Blog({
const pageNumber = await getPageNumber(searchParams);
const { tag } = await params;
const currentTag = tag != null && tag.length >= 1 ? tag[0] : null;
+
if ((tag?.length ?? 0) > 1) {
notFound();
}
@@ -28,9 +29,7 @@ export default async function Blog({
pageNumber,
currentTag
);
- if (pageNumber > numberOfPages) {
- notFound();
- }
+
const loggedIn = (await auth())?.user != null;
const tags = await getTags(loggedIn);
@@ -46,13 +45,23 @@ export default async function Blog({
naresh writes
...occasionally
-