-
Notifications
You must be signed in to change notification settings - Fork 61
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
Prince/Purchase section refactor #800
Prince/Purchase section refactor #800
Conversation
<div className='purchase-body-box'> | ||
<div className='purchase-amount-box'> | ||
<div className='purchase-amount-info-box'> | ||
<Text size='md'>{localize('Stake')}:</Text> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<Text size='md'>{localize('Stake')}:</Text> | |
<Text>{localize('Stake')}:</Text> |
nit-pick: not sure if it's in scope of this PR but size='md'
can be removed from all Text's as it's a default value :)
@@ -191,15 +191,15 @@ export const FormComponent = () => { | |||
options={start_dates.options} | |||
value={findTextByValue(start_dates.options, date_start)} | |||
onUpdate={updateFormField} | |||
elementId='date_start' | |||
element_id='date_start' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please help to update the elementId
prop to element_id
in DropdownComponent as well. This can break the functionality.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For DropdownComponent
and NumbersDropdown
I kept it elementId
because it's a prop.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@prince-deriv I think you missed to revert the change here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Nuzhy-Deriv please check one more time
Preview Link: https://pr-800.smarttrader-preview.pages.dev
|
No description provided.