-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(hackathon-surplus): show surplus modal when confirmation modal i…
…s closed (#2773) * refactor: remove ModalMod mod file and move it to index * refactor: move styled modal stuff to styled file * chore: typo on comment * chore: remove TransactionConfirmationModal from ConfirmSwapModal Did not seem to be in needed as there's another instance called from within ConfirmSwap modal. Must test other use cases to be sure it still works as before * feat: add state for surplusModal * feat: add SurplusModalSetup to wrap SurplusModal * feat: when order is fulfilled, add it to surplus modal queue * feat: sync confirmation modal status to surplusModal state * feat: add SurplusModal to SwapModals * fix: add fn to hook deps array * Revert "chore: remove TransactionConfirmationModal from ConfirmSwapModal" This reverts commit 4a45dea. * refactor: rename GpModal to CowModal * feat: add `an extra` to twitter share msg * fix: move SurplusModal inside Section to fix css * chore: add `class` from api reponse to `OrderInfoApi` * chore: only add surplus modal for market orders
- Loading branch information
1 parent
910a5c7
commit 645b069
Showing
32 changed files
with
403 additions
and
250 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.