Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WEBREL]/Mitra/[WEBREL-2748] Remove the condition as we use the component for bot… #15309

Merged
Merged
Changes from 1 commit
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
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ type TListingContainerProps = {
type TOptionsProps = Pick<TListingContainerProps, 'title' | 'description' | 'is_deriv_platform'>;
type TSwitcherProps = Pick<TListingContainerProps, 'is_deriv_platform'>;

const Options = ({ title, description, is_deriv_platform }: TOptionsProps) => {
if (!is_deriv_platform) return null;

const Options = ({ title, description }: TOptionsProps) => {
Copy link
Contributor Author

@mitra-deriv mitra-deriv May 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the is_deriv_platform as we are using the component in both CFD and option section

mitra-deriv marked this conversation as resolved.
Show resolved Hide resolved
return (
<div className='listing-container__title'>
{title}
Expand Down