From b89089c70259de1ac4b4bbd276425d47037c612c Mon Sep 17 00:00:00 2001 From: Mandeep Singh Date: Wed, 19 Jun 2024 17:33:33 +0530 Subject: [PATCH] Resolves an issue causing a crash on the for-you page when creating a new post --- components/Input.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/Input.tsx b/components/Input.tsx index 4afe8af..98ffd43 100644 --- a/components/Input.tsx +++ b/components/Input.tsx @@ -263,6 +263,8 @@ export default function Input({ userImg: session?.user?.image || "", content: sanitizedInput || "", category: "other", + likes: [], + comments: [], url: sanitizedUrl || "", name: session?.user?.name || "Test User", authorID: session?.user?.id,