From 7cefdd3af417ba04171bcc60026c6ca1b7ee73ca Mon Sep 17 00:00:00 2001 From: Neeraj Kashyap Date: Wed, 25 Aug 2021 03:25:25 -0700 Subject: [PATCH] Renamed "EthereumMempool" component -> "EthereumBlockchain" The `ethereum_txpool` data is formatted a bit differently, and will have to be handled with different logic. --- frontend/src/components/StreamEntry.js | 4 ++-- .../{EthereumMempool.js => EthereumBlockchain.js} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename frontend/src/components/stream-cards/{EthereumMempool.js => EthereumBlockchain.js} (100%) diff --git a/frontend/src/components/StreamEntry.js b/frontend/src/components/StreamEntry.js index 30972b0d..283ceaf3 100644 --- a/frontend/src/components/StreamEntry.js +++ b/frontend/src/components/StreamEntry.js @@ -2,7 +2,7 @@ import React, { useContext } from "react"; import { Flex, IconButton, Stack, Tooltip, chakra } from "@chakra-ui/react"; import { ArrowRightIcon } from "@chakra-ui/icons"; import UIContext from "../core/providers/UIProvider/context"; -import EthereumMempoolCard from "./stream-cards/EthereumMempool"; +import EthereumBlockchainCard from "./stream-cards/EthereumBlockchain"; import EthereumWhalewatchCard from "./stream-cards/EthereumWhalewatch"; const StreamEntry_ = ({ entry, showOnboardingTooltips, className }) => { @@ -36,7 +36,7 @@ const StreamEntry_ = ({ entry, showOnboardingTooltips, className }) => { spacing={0} > {entry.event_type === "ethereum_blockchain" && ( - + )} {entry.event_type === "ethereum_whalewatch" && ( diff --git a/frontend/src/components/stream-cards/EthereumMempool.js b/frontend/src/components/stream-cards/EthereumBlockchain.js similarity index 100% rename from frontend/src/components/stream-cards/EthereumMempool.js rename to frontend/src/components/stream-cards/EthereumBlockchain.js