-
Notifications
You must be signed in to change notification settings - Fork 685
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add sales marketplace endpoint (#2309)
- Loading branch information
Melisa Anabella Rossi
authored
Oct 10, 2024
1 parent
d48a040
commit 20425d9
Showing
6 changed files
with
32 additions
and
8 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
webapp/src/components/AssetPage/TransactionHistory/TransactionHistory.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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { connect } from 'react-redux' | ||
import { getIsOffchainPublicItemOrdersEnabled, getIsOffchainPublicNFTOrdersEnabled } from '../../../modules/features/selectors' | ||
import { RootState } from '../../../modules/reducer' | ||
import TransactionHistory from './TransactionHistory' | ||
import { MapStateProps } from './TransactionHistory.types' | ||
|
||
const mapState = (state: RootState): MapStateProps => ({ | ||
isOffchainPublicItemOrdersEnabled: getIsOffchainPublicItemOrdersEnabled(state), | ||
isOffchainPublicNFTOrdersEnabled: getIsOffchainPublicNFTOrdersEnabled(state) | ||
}) | ||
|
||
export default connect(mapState)(TransactionHistory) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
import TransactionHistory from './TransactionHistory' | ||
import TransactionHistory from './TransactionHistory.container' | ||
export { TransactionHistory } |
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