diff --git a/libs/ledger-live-common/src/wallet-api/Exchange/server.ts b/libs/ledger-live-common/src/wallet-api/Exchange/server.ts index 43eecab52fa1..74f6ec5aa73d 100644 --- a/libs/ledger-live-common/src/wallet-api/Exchange/server.ts +++ b/libs/ledger-live-common/src/wallet-api/Exchange/server.ts @@ -126,7 +126,7 @@ export const handlers = ({ } let exchangeParams: ExchangeStartParamsUiRequest; - console.log("params", params); + // Use `if else` instead of switch to leverage TS type narrowing and avoid `params` force cast. if (params.exchangeType == "SWAP") { exchangeParams = extractSwapStartParam(params, accounts);