Skip to content

Commit

Permalink
fix(app): 121 remove incorrect return on new post action
Browse files Browse the repository at this point in the history
  • Loading branch information
huilensolis committed Mar 3, 2024
1 parent bcfcbfc commit dc63a6c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/actions/new-post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ export async function createNewPost(
)
throw new Error("limit reached");

return;

const { data: userProfile, error: errorGettingProfile } = await supabase
.from("profiles")
.select("*")
Expand Down

0 comments on commit dc63a6c

Please sign in to comment.