From e9b2da4a3a3d2f478ea4de39a4ebb303e666ad21 Mon Sep 17 00:00:00 2001 From: Rupato Braganza Date: Mon, 3 Mar 2025 17:38:00 +0800 Subject: [PATCH] fix: test for actions --- src/app/App.tsx | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/app/App.tsx b/src/app/App.tsx index f7d798a0..467dc128 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -59,15 +59,6 @@ function App() { }; }, []); - // const updateAccountParamInURL = (account_data: TAuthData['account_list'][number], fallback_currency = '') => { - // const search_params = new URLSearchParams(window.location.search); - // const account_param = account_data.loginid.startsWith('VR') - // ? 'demo' - // : account_data.currency || fallback_currency; - // search_params.set('account', account_param); - // window.history.pushState({}, '', `${window.location.pathname}?${search_params.toString()}`); - // }; - React.useEffect(() => { const accounts_list = localStorage.getItem('accountsList'); const client_accounts = localStorage.getItem('clientAccounts');