diff --git a/src/components/debug/DebugTransferNFT.tsx b/src/components/debug/DebugTransferNFT.tsx
index 071aa5c67..d9c6b3c3d 100644
--- a/src/components/debug/DebugTransferNFT.tsx
+++ b/src/components/debug/DebugTransferNFT.tsx
@@ -3,7 +3,7 @@ import { Button } from 'components/common/button';
import { Input, InputUserAccount, Label } from 'components/common/inputField';
import { useWagmi } from 'libs/wagmi';
import { QueryKey, useQueryClient } from 'libs/queries';
-import { useContract } from 'hooks/useContract';
+import { useVoucher } from 'hooks/useContract';
export const DebugTransferNFT = () => {
const { user } = useWagmi();
@@ -13,7 +13,7 @@ export const DebugTransferNFT = () => {
const [isSuccess, setIsSuccess] = useState(false);
const [isError, setIsError] = useState(false);
const [isLoading, setIsLoading] = useState(false);
- const { Voucher } = useContract();
+ const { data: Voucher } = useVoucher();
const handleOnClick = async () => {
setIsSuccess(false);
@@ -25,12 +25,12 @@ export const DebugTransferNFT = () => {
setIsLoading(true);
try {
- const tx = await Voucher.write.transferFrom(
+ const tx = await Voucher?.write.transferFrom(
user,
inputRecipient,
inputId
);
- await tx.wait();
+ await tx?.wait();
await cache.invalidateQueries({ queryKey: QueryKey.strategies(user) });
setIsSuccess(true);
} catch (e) {
diff --git a/src/components/explorer/ExplorerSearch.tsx b/src/components/explorer/ExplorerSearch.tsx
index 8c021cce3..455ac00c6 100644
--- a/src/components/explorer/ExplorerSearch.tsx
+++ b/src/components/explorer/ExplorerSearch.tsx
@@ -94,13 +94,6 @@ export const _ExplorerSearch: FC = () => {
setSearch,
};
- const suggestionProps = {
- pairMap: pairs.map,
- nameMap: pairs.names,
- search,
- setSearch,
- };
-
return (
- {type === 'token-pair' && (
-
- )}
+ {type === 'token-pair' && }
{type === 'wallet' && }
diff --git a/src/components/explorer/ExplorerSearchDropdownButton.tsx b/src/components/explorer/ExplorerSearchDropdownButton.tsx
index 7d2482411..615bbfa2c 100644
--- a/src/components/explorer/ExplorerSearchDropdownButton.tsx
+++ b/src/components/explorer/ExplorerSearchDropdownButton.tsx
@@ -26,7 +26,7 @@ export const ExplorerSearchDropdownButton = forwardRef<
{type === 'token-pair' && (
<>