diff --git a/packages/wallets/src/features/cfd/screens/ChangePassword/ChangePassword.scss b/packages/wallets/src/features/cfd/screens/ChangePassword/ChangePassword.scss index 4057beffaac7..320ac36c9eb1 100644 --- a/packages/wallets/src/features/cfd/screens/ChangePassword/ChangePassword.scss +++ b/packages/wallets/src/features/cfd/screens/ChangePassword/ChangePassword.scss @@ -31,20 +31,20 @@ margin-bottom: 3.2rem; justify-self: center; width: 100%; - &--btn { + &__btn { width: 50%; border: none; border-bottom: 2px solid var(--light-7-secondary-background, #f2f3f4); background: none; padding: 1rem 0; cursor: pointer; - } - &--btn-active { - width: 50%; - border: none; - border-bottom: 2px solid var(--brand-coral, #ff444f); - background: none; - padding: 1rem 0; + &--active { + width: 50%; + border: none; + border-bottom: 2px solid var(--brand-coral, #ff444f); + background: none; + padding: 1rem 0; + } } } @@ -53,16 +53,16 @@ flex-direction: column; align-items: center; gap: 2.4rem; - &--icon { + &__icon { text-align: center; } - &--text { + &__text { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; } - &--btn { + &__btn { width: 45.2rem; text-align: center; @include mobile { diff --git a/packages/wallets/src/features/cfd/screens/ChangePassword/ChangePassword.tsx b/packages/wallets/src/features/cfd/screens/ChangePassword/ChangePassword.tsx index fecce9e517c6..50e33ee67f1b 100644 --- a/packages/wallets/src/features/cfd/screens/ChangePassword/ChangePassword.tsx +++ b/packages/wallets/src/features/cfd/screens/ChangePassword/ChangePassword.tsx @@ -1,4 +1,4 @@ -import React from 'react'; +import React, { useState } from 'react'; import { ModalStepWrapper, WalletText } from '../../../../components/Base'; import MT5Password from './MT5Password'; import './ChangePassword.scss'; @@ -6,12 +6,12 @@ import './ChangePassword.scss'; const ChangePassword = () => { const tabs = [ { - label: 'Deriv MT5 password', content: , + label: 'Deriv MT5 password', }, { - label: 'Investor password', content: <>, // TODO: Add InvestorPassword component + label: 'Investor password', }, ]; const [activeTab, setActiveTab] = useState(0); @@ -29,8 +29,8 @@ const ChangePassword = () => {