Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Commit

Permalink
fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
peetzweg committed Sep 14, 2023
1 parent e808173 commit 840c2b7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/useink/src/core/types/talisman-connect-wallets.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export { getWalletBySource, getWallets } from '@talismn/connect-wallets';
import type { Wallet } from '@talismn/connect-wallets';
import { Signer } from './api';
import type { Wallet } from '@talismn/connect-wallets';

export interface WalletAccount {
// Talisman sets the type as unknown so we must manually set it to Signer
Expand Down
2 changes: 1 addition & 1 deletion packages/useink/src/react/hooks/contracts/useCall.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { useCallback, useState } from 'react';
import {
DecodedContractResult,
LazyCallOptions,
Expand All @@ -7,6 +6,7 @@ import {
import { ChainContract, useDefaultCaller } from '../index';
import { useWallet } from '../wallets/useWallet.ts';
import { useAbiMessage } from './useAbiMessage.ts';
import { useCallback, useState } from 'react';

export type CallSend = (
args?: Array<unknown>,
Expand Down
2 changes: 1 addition & 1 deletion packages/useink/src/react/hooks/contracts/useDryRun.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { useCallback, useState } from 'react';
import {
DecodedTxResult,
LazyCallOptions,
Expand All @@ -9,6 +8,7 @@ import { useDefaultCaller } from '../config/index';
import { useWallet } from '../wallets/useWallet.ts';
import { ChainContract } from './types.ts';
import { useAbiMessage } from './useAbiMessage.ts';
import { useCallback, useState } from 'react';

type DryRunResult<T> = DecodedTxResult<T> | undefined;

Expand Down
2 changes: 1 addition & 1 deletion packages/useink/src/react/hooks/contracts/useTx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { useWallet } from '../wallets/useWallet.ts';
import { ChainContract } from './types.ts';
import { useDryRun } from './useDryRun.ts';
import { useTxEvents } from './useTxEvents.ts';
import { useCallback, useMemo, useState } from 'react';
import { useCallback, useState } from 'react';

export type ContractSubmittableResultCallback = (
result?: ContractSubmittableResult,
Expand Down

0 comments on commit 840c2b7

Please sign in to comment.