Skip to content

Apportionment always refetch result and state#3472

Merged
stacktraceghost merged 2 commits into
mainfrom
3422-apportionment-doesnt-refetch-result
Jun 26, 2026
Merged

Apportionment always refetch result and state#3472
stacktraceghost merged 2 commits into
mainfrom
3422-apportionment-doesnt-refetch-result

Conversation

@stacktraceghost

@stacktraceghost stacktraceghost commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

What & why

Resolves #3422

  • Adds refetch for useApportionmentRequest
  • Adds refetch for ApportionmentProvider which calls both the apportionment result and state refetch
  • Updated calls in several files
  • Updated tests to keep mocking responses instead of only once

How to test

Reviewer notes

N/A

@stacktraceghost stacktraceghost self-assigned this Jun 25, 2026
@stacktraceghost stacktraceghost requested a review from a team as a code owner June 25, 2026 15:54
@stacktraceghost stacktraceghost changed the title 3422 apportionment doesnt refetch result Apportionment always refetch result and state Jun 25, 2026
@stacktraceghost stacktraceghost removed the request for review from a team June 25, 2026 15:58

@Lionqueen94 Lionqueen94 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works!

@stacktraceghost stacktraceghost added this pull request to the merge queue Jun 26, 2026
Merged via the queue into main with commit 9587a9b Jun 26, 2026
22 checks passed
@stacktraceghost stacktraceghost deleted the 3422-apportionment-doesnt-refetch-result branch June 26, 2026 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Apportionment doesn't refetch result

3 participants