Skip to content

Commit

Permalink
Merge pull request #134 from thisyahlen-deriv/thisyahlen/mt5-loader-fix
Browse files Browse the repository at this point in the history
chore: remove loader on logged out state
  • Loading branch information
thisyahlen-deriv authored Apr 29, 2024
2 parents 7df5199 + 4d3edf9 commit 27e2329
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cfd/components/MT5PlatformsList/MT5PlatformsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const MT5PlatformsList = () => {
return (
<CFDPlatformLayout title={PlatformDetails.mt5.title}>
{!isAuthorized && <LoggedOutMT5AccountsList />}
{!isFetchedAfterMount && (
{!isFetchedAfterMount && isAuthorized && (
<div className='pt-8 lg:pt-18'>
<TradingAppCardLoader />
</div>
Expand Down

0 comments on commit 27e2329

Please sign in to comment.