Move refactoring

This commit is contained in:
Willian Mitsuda 2021-07-23 19:48:34 -03:00
parent 6c763b4817
commit 30597fc4ba
3 changed files with 19 additions and 19 deletions

View File

@ -3,8 +3,8 @@ import { useParams, useLocation } from "react-router";
import { ethers } from "ethers"; import { ethers } from "ethers";
import queryString from "query-string"; import queryString from "query-string";
import StandardFrame from "./StandardFrame"; import StandardFrame from "./StandardFrame";
import BlockTransactionHeader from "./BlockTransactionHeader"; import BlockTransactionHeader from "./block/BlockTransactionHeader";
import BlockTransactionResults from "./BlockTransactionResults"; import BlockTransactionResults from "./block/BlockTransactionResults";
import { import {
InternalOperation, InternalOperation,
OperationType, OperationType,

View File

@ -1,11 +1,11 @@
import React, { useContext } from "react"; import React, { useContext } from "react";
import { ethers } from "ethers"; import { ethers } from "ethers";
import StandardSubtitle from "./StandardSubtitle"; import StandardSubtitle from "../StandardSubtitle";
import BlockLink from "./components/BlockLink"; import BlockLink from "../components/BlockLink";
import NavBlock from "./block/NavBlock"; import NavBlock from "./NavBlock";
import { RuntimeContext } from "./useRuntime"; import { RuntimeContext } from "../useRuntime";
import { useLatestBlockNumber } from "./useLatestBlock"; import { useLatestBlockNumber } from "../useLatestBlock";
import { blockTxsURL } from "./url"; import { blockTxsURL } from "../url";
type BlockTransactionHeaderProps = { type BlockTransactionHeaderProps = {
blockTag: ethers.providers.BlockTag; blockTag: ethers.providers.BlockTag;

View File

@ -1,15 +1,15 @@
import React, { useContext } from "react"; import React, { useContext } from "react";
import ContentFrame from "./ContentFrame"; import ContentFrame from "../ContentFrame";
import PageControl from "./search/PageControl"; import PageControl from "../search/PageControl";
import ResultHeader from "./search/ResultHeader"; import ResultHeader from "../search/ResultHeader";
import PendingResults from "./search/PendingResults"; import PendingResults from "../search/PendingResults";
import TransactionItem from "./search/TransactionItem"; import TransactionItem from "../search/TransactionItem";
import { useFeeToggler } from "./search/useFeeToggler"; import { useFeeToggler } from "../search/useFeeToggler";
import { RuntimeContext } from "./useRuntime"; import { RuntimeContext } from "../useRuntime";
import { SelectionContext, useSelection } from "./useSelection"; import { SelectionContext, useSelection } from "../useSelection";
import { useENSCache } from "./useReverseCache"; import { useENSCache } from "../useReverseCache";
import { ProcessedTransaction } from "./types"; import { ProcessedTransaction } from "../types";
import { PAGE_SIZE } from "./params"; import { PAGE_SIZE } from "../params";
type BlockTransactionResultsProps = { type BlockTransactionResultsProps = {
page?: ProcessedTransaction[]; page?: ProcessedTransaction[];