Skip to content

Commit

Permalink
feat: undo changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sergei-deriv committed Aug 16, 2024
1 parent 12a4829 commit 109bdde
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const DepositNowBanner = makeLazyLoader(

const TradersHubBanners = observer(() => {
const { client, traders_hub } = useStore();
const { is_landing_company_loaded, has_any_real_account, is_eu, is_switching } = client;
const { is_landing_company_loaded, has_any_real_account, is_eu } = client;
const { is_real } = traders_hub;
const { hasDeposited, hasTransferred, isLoaded } = useStoreHasAccountDeposited();

Expand All @@ -48,7 +48,7 @@ const TradersHubBanners = observer(() => {
const should_show_real_account_creation_banner =
ff_real_account_creation_banner && !has_any_real_account && !is_eu && is_landing_company_loaded;
const should_show_deposit_now_banner =
ff_deposit_now_banner && !is_switching && is_real && isLoaded && !hasDeposited && !hasTransferred;
ff_deposit_now_banner && is_real && isLoaded && !hasDeposited && !hasTransferred;

return (
<React.Fragment>
Expand Down

0 comments on commit 109bdde

Please sign in to comment.