Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Fixing assumption regarding data format stored on redux #2159

Merged
merged 1 commit into from
Jan 15, 2022

Conversation

alfetopito
Copy link
Contributor

Summary

Fixing this hard crash on claim

Screen Shot 2022-01-14 at 14 29 28

Hook assumes data will have indices key, which is not true for data created before this change was introduced.

To Test

  1. Open the app on claim page
  • It should not crash

Note It would only crash if you had performed a claim before, so not likely it'll affect everyone, and only moving forward.
Anyway, nice to check that to be safe

@alfetopito alfetopito self-assigned this Jan 14, 2022
@alfetopito alfetopito requested a review from a team January 14, 2022 23:48
@github-actions
Copy link
Contributor

  • 🔭 GP Swap: Gnosis Protocol v2 Swap UI

@alfetopito alfetopito changed the title Fixing assumtion regarding data format stored on redux Fixing assumption regarding data format stored on redux Jan 15, 2022
@W3stside W3stside merged commit 2830c00 into claim Jan 15, 2022
Copy link
Contributor

@anxolin anxolin left a comment

Choose a reason for hiding this comment

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

Approve

@alfetopito alfetopito deleted the fix-crash-loading-txs branch January 16, 2022 15:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants