57ae872cc6a1ff46ad662185bb31bec9270350af
![gpt-engineer-app[bot]](/assets/img/avatar_default.png)
The `Index` page component was violating the Rules of Hooks by conditionally rendering hooks. This commit refactors the component to ensure hooks are called in a consistent order across renders, resolving the "Rendered more hooks than during the previous render" error. Additionally, it addresses performance concerns by optimizing data fetching and state management.
Description
No description provided
Languages
TypeScript
97.4%
JavaScript
1.5%
CSS
0.7%
Shell
0.3%