From dc63a6cc8c88ba42511c832f4f3596c5aeb0a665 Mon Sep 17 00:00:00 2001 From: Huilensolis Date: Sun, 3 Mar 2024 16:32:29 -0300 Subject: [PATCH] fix(app): 121 remove incorrect return on new post action --- src/actions/new-post.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/actions/new-post.ts b/src/actions/new-post.ts index 0e05dfe..95c5932 100644 --- a/src/actions/new-post.ts +++ b/src/actions/new-post.ts @@ -58,8 +58,6 @@ export async function createNewPost( ) throw new Error("limit reached"); - return; - const { data: userProfile, error: errorGettingProfile } = await supabase .from("profiles") .select("*")