Skip to content

Commit

Permalink
Fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
darkwing authored and gambinish committed Nov 21, 2024
1 parent a53dcd9 commit 77c0ad0
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 @@ -1527,11 +1527,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 77c0ad0

Please sign in to comment.