Commit 7ba2b35e authored by Krzysztof Kocot's avatar Krzysztof Kocot Committed by Gandalf
Browse files

#794 Deduplicate getAccountFull calls in profile page

Use React cache() to deduplicate getAccountFull calls between
generateMetadata and Layout prefetch within the same request.

- Add cached-api.ts with getAccountFullCached wrapper
- Update profile layout to use cached version in both places

This eliminates duplicate API calls for the same user data.

🤖 Generated with [Claude Code](https://claude.com/claude-code

)

Co-Authored-By: default avatarClaude Opus 4.5 <noreply@anthropic.com>
parent f0c242c1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment