Files
Stirling-PDF/frontend/src/core
Anthony StirlingandGitHub 68df661204 Fix hook ordering for endpoint name resolution (#5517)
### Motivation
- Prevent a React hook ordering issue by removing conditional
`useCallback` usage in endpoint name resolution within the base
parameters hook.

### Description
- Replace conditional creation of `getEndpointName` with a single
unconditional `useCallback` that reads `config.endpointName` and returns
either the static string or calls the function with `parameters`,
updating `frontend/src/core/hooks/tools/shared/useBaseParameters.ts`.

### Testing
- No automated tests were executed in this change; please run `./gradlew
build` (or confirm CI build) to verify the project compiles
successfully.

------
[Codex
Task](https://chatgpt.com/codex/tasks/task_b_696ec2829624832898fb4a92192ed548)
2026-01-21 21:40:02 +00:00
..
2026-01-21 21:35:17 +00:00
2025-12-30 18:55:56 +00:00
2025-12-15 09:31:41 +00:00
2025-12-10 11:10:34 +00:00
2026-01-08 09:27:55 +00:00
2026-01-05 15:12:14 +00:00
2025-11-12 14:54:01 +00:00
2025-12-30 18:55:56 +00:00
2025-12-03 10:54:53 +00:00