From 1d044cee85ab43ef826a4297bcdbfb1b0f2dc0a9 Mon Sep 17 00:00:00 2001 From: Willian Mitsuda Date: Thu, 21 Oct 2021 18:25:57 -0300 Subject: [PATCH] Using import for image --- src/AddressTransactions.tsx | 3 ++- src/Logo.tsx | 3 ++- src/Title.tsx | 3 ++- {public => src}/otter.jpg | Bin {public => src}/sourcify.svg | 0 5 files changed, 6 insertions(+), 3 deletions(-) rename {public => src}/otter.jpg (100%) rename {public => src}/sourcify.svg (100%) diff --git a/src/AddressTransactions.tsx b/src/AddressTransactions.tsx index 6baead0..53f92bf 100644 --- a/src/AddressTransactions.tsx +++ b/src/AddressTransactions.tsx @@ -32,6 +32,7 @@ import { SelectionContext, useSelection } from "./useSelection"; import { useMultipleETHUSDOracle } from "./usePriceOracle"; import { useAppConfigContext } from "./useAppConfig"; import { useSourcify } from "./useSourcify"; +import SourcifyLogo from "./sourcify.svg"; type BlockParams = { addressOrName: string; @@ -240,7 +241,7 @@ const AddressTransactions: React.FC = () => { ) : ( Sourcify logo (
An otter scanning import("./search/CameraScanner")); @@ -44,7 +45,7 @@ const Title: React.FC = () => {