Skip to content

Commit

Permalink
chore: rename binance wallet (#11096)
Browse files Browse the repository at this point in the history
<!--
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 updating the terminology related to the Binance
wallet across multiple files, changing references from "Binance Web3
Wallet" to "Binance Wallet" for consistency.

### Detailed summary
- In `apps/web/src/hooks/useDataDogRUM.ts`, updated the context property
from `'Binance Web3 Wallet'` to `'Binance Wallet'`.
- In `apps/web/src/config/wallet.ts`, changed the `title` from `'Binance
Web3 Wallet'` to `'Binance Wallet'`.
- In `apps/gamification/config/wallet.ts`, modified the `title` from
`'Binance Web3 Wallet'` to `'Binance Wallet'`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your
question}`

<!-- end pr-codex -->
  • Loading branch information
Chef-Yogi authored Dec 30, 2024
1 parent c811004 commit 0bc9325
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/gamification/config/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ const walletsConfig = <config extends Config = Config, context = unknown>({
},
{
id: 'BinanceW3W',
title: 'Binance Web3 Wallet',
title: 'Binance Wallet',
icon: `${ASSET_CDN}/web/wallets/binance-w3w.png`,
connectorId: isBinanceWeb3WalletInstalled() ? ConnectorNames.Injected : ConnectorNames.BinanceW3W,
get installed() {
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/config/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ const walletsConfig = <config extends Config = Config, context = unknown>({
},
{
id: 'BinanceW3W',
title: 'Binance Web3 Wallet',
title: 'Binance Wallet',
icon: `${ASSET_CDN}/web/wallets/binance-w3w.png`,
connectorId: isBinanceWeb3WalletInstalled() ? ConnectorNames.Injected : ConnectorNames.BinanceW3W,
get installed() {
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/hooks/useDataDogRUM.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export function useDataDogRUM() {
useEffect(() => {
// @ts-ignore
if (ready && window?.ethereum?.isBinance) {
datadogRum.setGlobalContextProperty('wallet', 'Binance Web3 Wallet')
datadogRum.setGlobalContextProperty('wallet', 'Binance Wallet')
}

return () => {
Expand Down

0 comments on commit 0bc9325

Please sign in to comment.