Skip to content

Commit

Permalink
Merge pull request #275 from rupato-deriv/Rupato/Fix-oidc-1
Browse files Browse the repository at this point in the history
fix: removed extra check
  • Loading branch information
rupato-deriv authored Feb 18, 2025
2 parents d5401c8 + e106e86 commit 87dcefe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/layout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const Layout = () => {
const clientAccounts = JSON.parse(localStorage.getItem('accountsList') ?? '{}');
const checkClientAccount = JSON.parse(localStorage.getItem('clientAccounts') ?? '{}');
const checkAccountList = JSON.parse(localStorage.getItem('accountList') ?? '{}');
const accountLengthsEqual = JSON.stringify(clientAccounts) === JSON.stringify(checkClientAccount);
const accountLengthsEqual = Object.keys(clientAccounts).length === Object.keys(checkClientAccount).length;

console.log('clientAccounts', { checkClientAccount, checkAccountList, accountLengthsEqual });
useEffect(() => {
Expand Down

0 comments on commit 87dcefe

Please sign in to comment.