Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

Introduce useMidgardHistoryActions hook #1842

Merged
merged 5 commits into from
Oct 11, 2021

Conversation

veado
Copy link
Collaborator

@veado veado commented Oct 9, 2021

to keep state handling in view instead of service level. It keeps PoolHistoryView + PoolActionsHistoryView more clean by removing (duplicated) logic from there. No need of calling resetActionsData anymore.

  • useMidgardHistoryActions hook
  • Remove state handling from services/midgard&poolHistoryActions
  • Some renaming: poolActionXYZ -> actionXYZ, actionsXYZ -> historyXYZ, view/wallet/PoolActionsHistory ->
    view/wallet/history

Part of #1811

to keep state handling of `view` instead of `service` level
@veado veado self-assigned this Oct 9, 2021
veado added 3 commits October 11, 2021 15:20
to avoid duplications

- Rename folder `view/wallet/PoolActionsHistory` to
`view/wallet/history`
incl. some improvements
@veado veado changed the title WIP: Introduce useMidgardHistoryActions hook Introduce useMidgardHistoryActions hook Oct 11, 2021
@veado veado marked this pull request as ready for review October 11, 2021 14:04
@veado veado merged commit 8c0b51b into develop Oct 11, 2021
@veado veado deleted the issue-#1811-3/useMidgardActions-hook branch October 11, 2021 14:59
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.

2 participants