#288 Fixes Sign and Complete Spinner Issue #301

Merged
eugene merged 1 commits from issue-288-sign-complete-spinner-fix into staging 2025-01-08 12:25:18 +00:00
Owner

This PR fixes #288.

The loading state is interruped before the app navigates to the /validate screen because a redundant useEffect re-render of the page is triggered by a Sigit update.

Solution:

  • MetaInNavState is memoised to avoid redundant state updates
  • A new UseEffect hook is added to triggered the initial Sigit computation on mount.
This PR fixes #288. The loading state is interruped before the app navigates to the /validate screen because a redundant useEffect re-render of the page is triggered by a Sigit update. Solution: - MetaInNavState is memoised to avoid redundant state updates - A new UseEffect hook is added to triggered the initial Sigit computation on mount.
eugene added 1 commit 2025-01-08 10:32:41 +00:00
fix: disables redundant metaInNavState updates
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 38s
746338465d
eugene requested review from m 2025-01-08 10:44:11 +00:00
eugene requested review from enes 2025-01-08 10:44:12 +00:00
enes approved these changes 2025-01-08 11:00:10 +00:00
eugene merged commit fdaae33aa1 into staging 2025-01-08 12:25:18 +00:00
eugene deleted branch issue-288-sign-complete-spinner-fix 2025-01-08 12:25:18 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sigit/sigit.io#301
No description provided.