'React WalletSignatureError
I'm trying to use solana wallet adapter in my react app following the setup in https://github.com/solana-labs/wallet-adapter but says:
Attempted import error: 'WalletSignatureError' is not exported from '@solana/wallet-adapter-base'
Could you please help me?
Thanks in advance
Solution 1:[1]
Working now, seems like a versions issue.
The versions I used are:
"@solana/wallet-adapter-base": "^0.7.0",
"@solana/wallet-adapter-react": "^0.13.1",
"@solana/wallet-adapter-react-ui": "^0.6.1",
"@solana/wallet-adapter-wallets": "^0.11.3",
    					Solution 2:[2]
I think after @solana/wallet-adapter-base": "^0.7.0" it no longer exists. Instead
 import {  TransactionSignature} from '@solana/web3.js'
  const confirmation = await awaitTransactionSignatureConfirmation(
      txid,
      DEFAULT_TIMEOUT,
      connection,
      commitment,
    );
    if (!confirmation)
      throw new Error('Timed out awaiting confirmation on transaction');
    					Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source | 
|---|---|
| Solution 1 | jfcabreras | 
| Solution 2 | Yilmaz | 

