Skip to content

Commit

Permalink
fix: redux error on switching menu "non-serializable value was detect…
Browse files Browse the repository at this point in the history
…ed" (#89)
  • Loading branch information
CarmitKl authored Mar 22, 2022
1 parent c380e83 commit 9dc4972
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Features/Account/Account.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const Account = ({transferId}) => {
return (
<Menu>
<div className={styles.account}>
<BackButton onClick={showTransferMenu} />
<BackButton onClick={() => showTransferMenu()} />
<MenuTitle text={TITLE_TXT(fromNetwork.name)} />
<AccountAddress address={account} />
{isL1 && (
Expand Down
2 changes: 1 addition & 1 deletion src/components/Features/SelectToken/SelectToken.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const SelectToken = () => {
return (
<Menu>
<div className={styles.selectToken}>
<BackButton onClick={showTransferMenu} />
<BackButton onClick={() => showTransferMenu()} />
<MenuTitle text={TITLE_TXT} />
<MenuTitle color={colorBeta} text={fromNetwork.name} />
<SearchToken
Expand Down

0 comments on commit 9dc4972

Please sign in to comment.