Move refactoring
This commit is contained in:
parent
1a21ef5e5a
commit
7e73f12c75
@ -5,7 +5,7 @@ import Home from "./Home";
|
|||||||
import Search from "./Search";
|
import Search from "./Search";
|
||||||
import Title from "./Title";
|
import Title from "./Title";
|
||||||
import ConnectionErrorPanel from "./ConnectionErrorPanel";
|
import ConnectionErrorPanel from "./ConnectionErrorPanel";
|
||||||
import London from "./special/London";
|
import London from "./special/london/London";
|
||||||
import Footer from "./Footer";
|
import Footer from "./Footer";
|
||||||
import { ConnectionStatus } from "./types";
|
import { ConnectionStatus } from "./types";
|
||||||
import { RuntimeContext, useRuntime } from "./useRuntime";
|
import { RuntimeContext, useRuntime } from "./useRuntime";
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
import { ethers } from "ethers";
|
import { ethers } from "ethers";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import BlockLink from "../components/BlockLink";
|
import BlockLink from "../../components/BlockLink";
|
||||||
import TimestampAge from "../components/TimestampAge";
|
import TimestampAge from "../../components/TimestampAge";
|
||||||
import { ExtendedBlock } from "../useErigonHooks";
|
import { ExtendedBlock } from "../../useErigonHooks";
|
||||||
|
|
||||||
const ELASTICITY_MULTIPLIER = 2;
|
const ELASTICITY_MULTIPLIER = 2;
|
||||||
|
|
||||||
@ -11,8 +11,8 @@ import {
|
|||||||
faGasPump,
|
faGasPump,
|
||||||
} from "@fortawesome/free-solid-svg-icons";
|
} from "@fortawesome/free-solid-svg-icons";
|
||||||
import BlockRecord from "./BlockRecord";
|
import BlockRecord from "./BlockRecord";
|
||||||
import { ExtendedBlock, readBlock } from "../useErigonHooks";
|
import { ExtendedBlock, readBlock } from "../../useErigonHooks";
|
||||||
import { RuntimeContext } from "../useRuntime";
|
import { RuntimeContext } from "../../useRuntime";
|
||||||
|
|
||||||
const MAX_BLOCK_HISTORY = 20;
|
const MAX_BLOCK_HISTORY = 20;
|
||||||
|
|
||||||
@ -1,6 +1,6 @@
|
|||||||
import React, { useContext } from "react";
|
import React, { useContext } from "react";
|
||||||
import { useLatestBlock } from "../useLatestBlock";
|
import { useLatestBlock } from "../../useLatestBlock";
|
||||||
import { RuntimeContext } from "../useRuntime";
|
import { RuntimeContext } from "../../useRuntime";
|
||||||
import Countdown from "./Countdown";
|
import Countdown from "./Countdown";
|
||||||
import Blocks from "./Blocks";
|
import Blocks from "./Blocks";
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user