Edit character route shows blank creation form instead of loading the character #31
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
High
Routes `/characters/:id/edit` and detail page link to it, but `CharacterCreationPage` never reads the `:id` param.
Clicking Edit or Full Edit starts a brand-new character; saving creates a duplicate instead of updating.
Suggested fix
In CharacterCreationPage: read `useParams().id`, fetch the character, hydrate each step's state from it, and switch submit to `PUT /characters/:id`.