forked from decentraland/marketplace
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add messages for zombie orders so user cancel them (decentralan…
…d#1947) * feat: add messages for zombie orders so user cancel them * feat: add getIsLegacyOrderExpired fn * feat: show it never expires label for legacy ones * feat: use right function to check the expirations of legacies * feat: update wording and button color * feat: ternary for update in sale table * test: fix nftservice test * fix sagas test * test: change arrow function to function to fix test --------- Co-authored-by: Melisa Anabella Rossi <melisa.rossi@decentraland.org>
- Loading branch information
1 parent
5b2cb73
commit 79bda3b
Showing
44 changed files
with
1,210 additions
and
327 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
7 changes: 5 additions & 2 deletions
7
webapp/src/components/AssetPage/BuyNFTBox/BuyNFTBox.container.ts
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
import { connect } from 'react-redux' | ||
import { RootState } from '../../../modules/reducer' | ||
import { getAddress } from '../../../modules/wallet/selectors' | ||
import { getAddress, getWallet } from '../../../modules/wallet/selectors' | ||
import { getCurrentOrder } from '../../../modules/order/selectors' | ||
import { MapStateProps } from './BuyNFTBox.types' | ||
import YourOffer from './BuyNFTBox' | ||
|
||
const mapState = (state: RootState): MapStateProps => ({ | ||
address: getAddress(state) | ||
address: getAddress(state), | ||
order: getCurrentOrder(state), | ||
wallet: getWallet(state) | ||
}) | ||
|
||
export default connect(mapState)(YourOffer) |
Oops, something went wrong.