Skip to content

Commit

Permalink
fix imports (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
coffeexcoin authored Oct 15, 2024
1 parent 58042a7 commit abbc92d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/agw-react/src/privy/injectWagmiConnector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { EIP1193Provider, Transport } from 'viem';
import { useConfig, useReconnect } from 'wagmi';
import { injected } from 'wagmi/connectors';

import { usePrivyCrossAppProvider } from './usePrivyCrossAppProvider';
import { usePrivyCrossAppProvider } from './usePrivyCrossAppProvider.js';

interface InjectWagmiConnectorProps extends React.PropsWithChildren {
testnet: boolean;
Expand Down
2 changes: 1 addition & 1 deletion packages/agw-react/src/privy/usePrivyCrossAppProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {
} from 'viem';
import { abstractTestnet } from 'viem/chains';

const AGW_APP_ID = 'cm04asygd041fmry9zmcyn5o5';
import { AGW_APP_ID } from '../constants.js';

type RpcMethodNames<rpcSchema extends RpcSchema> =
rpcSchema[keyof rpcSchema] extends { Method: string }
Expand Down

0 comments on commit abbc92d

Please sign in to comment.