diff --git a/.eslintrc.json b/.eslintrc.json
index bffb357..fcde915 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -1,3 +1,6 @@
{
- "extends": "next/core-web-vitals"
+ "extends": "next/core-web-vitals",
+ "rules": {
+ "no-console": "warn"
+ }
}
diff --git a/convex/http.ts b/convex/http.ts
index cfd65c4..f70f94d 100644
--- a/convex/http.ts
+++ b/convex/http.ts
@@ -28,7 +28,7 @@ async function validateRequest(
try {
evt = wh.verify(payloadString, svixHeaders) as Event;
} catch (error) {
- console.log(error);
+ console.error(error);
return;
}
@@ -67,7 +67,7 @@ const handleClerkWebhook = httpAction(async (ctx, request) => {
break;
}
default: {
- console.log('ignored Clerk webhook event', event.type);
+ console.warn('ignored Clerk webhook event', event.type);
}
}
return new Response(null, {
diff --git a/src/app/layout.tsx b/src/app/layout.tsx
index a305550..d65c51a 100644
--- a/src/app/layout.tsx
+++ b/src/app/layout.tsx
@@ -1,3 +1,4 @@
+import Footer from '@/components/Footer';
import Navbar from '@/components/Navbar';
import { ConvexProvider, NextThemesProvider } from '@/providers';
import { ClerkProvider } from '@clerk/nextjs';
@@ -24,7 +25,7 @@ export default function RootLayout({
suppressHydrationWarning
>
- {children}
+
+ {children}
+
+
diff --git a/src/app/posts/[id]/page.tsx b/src/app/posts/[id]/page.tsx
new file mode 100644
index 0000000..567b4b5
--- /dev/null
+++ b/src/app/posts/[id]/page.tsx
@@ -0,0 +1 @@
+export default function PostPage({ params }: { params: { id: string } }) {}
diff --git a/src/app/profile/[id]/page.tsx b/src/app/profile/[id]/page.tsx
index 652eb76..0c99239 100644
--- a/src/app/profile/[id]/page.tsx
+++ b/src/app/profile/[id]/page.tsx
@@ -19,7 +19,7 @@ export default async function UserProfilePage({
}
return (
-
+
diff --git a/src/components/Editor.tsx b/src/components/Editor.tsx
index 3dc0ec7..7aa6b07 100644
--- a/src/components/Editor.tsx
+++ b/src/components/Editor.tsx
@@ -95,20 +95,16 @@ export default function Editor({ post }: { post?: Doc<'posts'> }) {
-
+
-
-
+