Skip to content

Commit

Permalink
hotfix user page errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kualta committed Jul 7, 2024
1 parent dac7bb9 commit 1302546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/(sidebars)/u/[user]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const getInitialData = async (handle: string) => {
const user = await getUserByHandle(handle);

if (!user) {
return null;
return { user: null, posts: null, nextCursor: null };
}

const lensPosts = await client.publication
Expand Down

0 comments on commit 1302546

Please sign in to comment.