f12c29103c7fef70d1f9aa59754872a102be4693
Some checks failed
Build and Push Docker Image / build (push) Failing after 8s
The project detail page called useQuery inside .map() to fetch file requirements per round, violating React's rules of hooks. When competitionRounds changed from [] to [round1, round2], the hook count changed, causing React to crash with "Cannot read properties of undefined (reading 'length')". Fix: Add listRequirementsByRounds endpoint that accepts multiple roundIds in one query, replacing the dynamic hook pattern with a single stable useQuery call. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Description
No description provided
Languages
TypeScript
99.5%
Shell
0.2%
CSS
0.2%
JavaScript
0.1%