mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-04-24 09:37:55 +00:00
fix: remove unused imports and add missing dependency
This commit is contained in:
@@ -285,7 +285,7 @@ export const WalletProvider: React.FC<{ children: React.ReactNode }> = ({ childr
|
||||
if (import.meta.env.DEV) console.error('Transaction failed:', error);
|
||||
throw new Error(error instanceof Error ? error.message : WALLET_ERRORS.TRANSACTION_FAILED);
|
||||
}
|
||||
}, [pezkuwi.api, pezkuwi.selectedAccount]);
|
||||
}, [pezkuwi.api, pezkuwi.selectedAccount, pezkuwi.walletSource]);
|
||||
|
||||
// Sign message
|
||||
const signMessage = useCallback(async (message: string): Promise<string> => {
|
||||
|
||||
Reference in New Issue
Block a user