fix: ensure submitForm will call when rerender completely #245

Closed
opened 2026-04-05 19:55:55 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @htilssu on 12/25/2024

old code not sure that the submitForm function will call after update
in my case: submitForm call before component rerender then isSubmitting is alway true because missing update submit state here
6757e9d617/resources/scripts/components/auth/LoginContainer.tsx (L49)

*Originally created by @htilssu on 12/25/2024* old code not sure that the `submitForm` function will call after update in my case: `submitForm ` call before component rerender then isSubmitting is alway true because missing update submit state here https://github.com/pyrohost/pyrodactyl/blob/6757e9d61715f94cf7dd22874d6c9e4184b777cf/resources/scripts/components/auth/LoginContainer.tsx#L49
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pyrodactyl#245