Merge branch 'main' into event-provider-ethereum-txpool

(added showOnboardingTooltips to EthereumTXPool card rendered in
StreamEntry)
pull/168/head
Neeraj Kashyap 2021-08-25 03:43:00 -07:00
commit 91e720fa43
2 zmienionych plików z 17 dodań i 6 usunięć

Wyświetl plik

@ -442,9 +442,11 @@ const Welcome = () => {
mt={20}
entry={{
event_type: "ethereum_blockchain",
from_address: "this is address from",
to_address: "this is to address",
hash: "this is hash",
event_data: {
from: "this is address from",
to: "this is to address",
hash: "this is hash",
},
}}
showOnboardingTooltips={true}
/>

Wyświetl plik

@ -37,15 +37,24 @@ const StreamEntry_ = ({ entry, showOnboardingTooltips, className }) => {
spacing={0}
>
{entry.event_type === "ethereum_blockchain" && (
<EthereumBlockchainCard entry={entry} />
<EthereumBlockchainCard
entry={entry}
showOnboardingTooltips={showOnboardingTooltips}
/>
)}
{entry.event_type === "ethereum_whalewatch" && (
<EthereumWhalewatchCard entry={entry} />
<EthereumWhalewatchCard
entry={entry}
showOnboardingTooltips={showOnboardingTooltips}
/>
)}
{entry.event_type === "ethereum_txpool" && (
<EthereumTXPoolCard entry={entry} />
<EthereumTXPoolCard
entry={entry}
showOnboardingTooltips={showOnboardingTooltips}
/>
)}
<Flex>