Skip to content

Commit 84464ad

Browse files
committed
refactor remaining gatsby images
1 parent f7cfe7d commit 84464ad

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/components/Simulator/screens/ConnectWeb3/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { Box, Button, Flex, Icon, Text } from "@chakra-ui/react"
22
import React, { useMemo, useState } from "react"
3-
import { GatsbyImage } from "gatsby-plugin-image"
43
import {
54
RiPriceTag2Line,
65
RiAuctionLine,
@@ -16,6 +15,7 @@ import type { TokenBalance } from "../../WalletHome/interfaces"
1615
import { defaultTokenBalances } from "../../constants"
1716
import { useEthPrice } from "../../../../hooks/useEthPrice"
1817
import { useNFT } from "../../WalletHome/hooks/useNFT"
18+
import GatsbyImage from "../../../GatsbyImage"
1919
import { FALLBACK_ETH_PRICE, USD_RECEIVE_AMOUNT } from "../../constants"
2020

2121
export const ConnectWeb3: React.FC<PhoneScreenProps> = ({ nav, ctaLabel }) => {

src/components/Simulator/screens/SendReceive/ReceiveEther.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ import React from "react"
1313
import { Box, Flex, Text } from "@chakra-ui/react"
1414
import { motion } from "framer-motion"
1515
import { graphql, useStaticQuery } from "gatsby"
16-
import { GatsbyImage, getImage } from "gatsby-plugin-image"
16+
import { getImage } from "gatsby-plugin-image"
1717
import { FAKE_DEMO_ADDRESS } from "../../constants"
1818
import { NotificationPopover } from "../../NotificationPopover"
19+
import GatsbyImage from "../../../GatsbyImage"
1920

2021
const MotionBox = motion(Box)
2122

0 commit comments

Comments
 (0)