Commit 143d78a
authored
fix: Crash when logging sol wallets (#12213)
<!--
Before opening a pull request, please read the [contributing
guidelines](https://github.com/pancakeswap/pancake-frontend/blob/develop/CONTRIBUTING.md)
first
-->
<!-- start pr-codex -->
---
## PR-Codex overview
This PR focuses on modifying the `wallets.ts` file to improve the
handling of Solana wallet adapters and includes a change to debug
logging.
### Detailed summary
- Removed the debug `console.log` statement for `solanaWalletAdapters`.
- The function `isSolanaWalletInstalled` checks if
`solanaWalletAdapters` is defined and has a length greater than zero
before proceeding.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your
question}`
<!-- end pr-codex -->1 parent dd15a4f commit 143d78a
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | 47 | | |
49 | 48 | | |
50 | 49 | | |
| |||
0 commit comments