Skip to content

Commit

Permalink
Fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
darkwing committed Nov 21, 2024
1 parent 87790df commit 214d89e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/selectors/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -1526,11 +1526,12 @@ export function getWeb3ShimUsageStateForOrigin(state, origin) {
* objects, per the above description.
*
* @param {object} state - the redux state object
* @param {string} overrideChainId - the chainId to override the current chainId
* @returns {SwapsEthToken} The token object representation of the currently
* selected account's ETH balance, as expected by the Swaps API.
*/

export function getSwapsDefaultToken(state, overrideChainId) {
export function getSwapsDefaultToken(state, overrideChainId = null) {
const selectedAccount = getSelectedAccount(state);
const balance = selectedAccount?.balance;
const currentChainId = getCurrentChainId(state);
Expand Down

0 comments on commit 214d89e

Please sign in to comment.