Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

fix: missing options tab in synthetics market page #2685

Merged
1 commit merged into from Feb 25, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/pages/markets/components/markets/_synthetic-indices.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const OtherMarkets = Loadable(() => import('../sections/_other-markets.js'))
import { getCountryRule } from 'components/containers/visibility'

const StockIndices = ({ simple_step_content }) => {
const { is_eu, is_not_eu, is_uk } = getCountryRule()
const { is_eu, is_non_eu, is_uk } = getCountryRule()

if (is_uk) {
navigate('/404/')
Expand All @@ -41,7 +41,7 @@ const StockIndices = ({ simple_step_content }) => {
<AvailableTrades
CFDs={<CFDs market_content={is_eu ? synthetic_cfds_eu : synthetic_cfds} />}
DigitalOptions={
is_not_eu && (
is_non_eu && (
<DigitalOptions
market_name={localize('synthetic indices')}
options_list={synthetic_options}
Expand Down