Skip to content

Commit 77c0ad0

Browse files
darkwinggambinish
authored andcommitted
Fix lint issue
1 parent a53dcd9 commit 77c0ad0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ui/selectors/selectors.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1527,11 +1527,12 @@ export function getWeb3ShimUsageStateForOrigin(state, origin) {
15271527
* objects, per the above description.
15281528
*
15291529
* @param {object} state - the redux state object
1530+
* @param {string} overrideChainId - the chainId to override the current chainId
15301531
* @returns {SwapsEthToken} The token object representation of the currently
15311532
* selected account's ETH balance, as expected by the Swaps API.
15321533
*/
15331534

1534-
export function getSwapsDefaultToken(state, overrideChainId) {
1535+
export function getSwapsDefaultToken(state, overrideChainId = null) {
15351536
const selectedAccount = getSelectedAccount(state);
15361537
const balance = selectedAccount?.balance;
15371538
const currentChainId = getCurrentChainId(state);

0 commit comments

Comments
 (0)