Skip to content

Commit

Permalink
Remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmed-deriv committed Oct 21, 2024
1 parent 0bd0307 commit cf76ec7
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const TermsAndConditions: React.FC<TTermsAndConditionsProps> = ({ register }) =>
<CustomCheckbox id='tnc_approval' name='tnc_approval' register={register}>
<label htmlFor='tnc_approval' className='app-register-container__tnc__label'>
<Text>
{translate({ message: `By registering your application, you acknowledge that you‘ve read and accepted the Deriv API`})} {' '}
{translate({ message: `By registering your application, you acknowledge that you‘ve read and accepted the Deriv API` })} {' '}
<Link
href='https://deriv.com/tnc/business-partners-api-user.pdf'
target='_blank'
Expand Down Expand Up @@ -115,9 +115,8 @@ const AppRegister: React.FC = () => {
};

const handleErrorOnChange = () => {
if (error) {
console.log('error', error);
clear();
if (error) {
clear();
}
}

Expand Down

0 comments on commit cf76ec7

Please sign in to comment.