Skip to content

Commit

Permalink
[WEBREL] Jim/WEBREL-3330/Console errors on Cashier page (#17498)
Browse files Browse the repository at this point in the history
* [WEBREL] Jim/WEBREL-3328/Unable to notice demo cashier icon (#17490)

* chore: remove path transformation

* ci: trigger build

* refactor: thunk the call to toggleaccountdialog
  • Loading branch information
jim-deriv authored Nov 13, 2024
1 parent d4166f9 commit dc8895f
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,13 @@ const Virtual = observer(() => {
i18n_default_text='You need to switch to a real money account to use this feature.<0/>You can do this by selecting a real account from the <1>Account Switcher.</1>'
components={[
<br key={0} />,
<span key={1} className='virtual__account-switch-text' onClick={toggleAccountsDialog} />,
<span
key={1}
className='virtual__account-switch-text'
onClick={() => {
toggleAccountsDialog();
}}
/>,
]}
/>
</Text>
Expand Down

0 comments on commit dc8895f

Please sign in to comment.