+
+ {t('setting.setting')}
+
+
+
+ ,
+ label: t('setting.notification'),
+ value: 'notification'
+ },
+ {
+ icon: ,
+ label: t('setting.password'),
+ value: 'password'
+ },
+ ]}
+ active={activeTab}
+ onChange={setActiveTab}
+ />
+
+
+ {
+ activeTab === 'notification' ?
+
+
+ {t('setting.setting_email_message')}
+
+
+
+ {
+ getSettings.isPending ?
+
+
+ :
+ getSettings.data?.data?.settings?.map((item: SettingCategoryType) => {
+ return (
+
+
+ {
+ item.settings?.map((settingItem: SettingItemType) => {
+ return (
+
+
+ {settingItem?.description}
+
+
+ {/*
+
+ {t('setting.email')}
+
+
+
*/}
+
+
+
+
+
+ )
+ })
+ }
+
+ )
+ })
+ }
+
+
+
+ :
+
+ }
+
+
+ )
+}
+
+export default Setting
\ No newline at end of file
diff --git a/src/pages/setting/components/ChangePassword.tsx b/src/pages/setting/components/ChangePassword.tsx
new file mode 100644
index 0000000..3cf3b77
--- /dev/null
+++ b/src/pages/setting/components/ChangePassword.tsx
@@ -0,0 +1,152 @@
+import { FC } from 'react'
+import { useTranslation } from 'react-i18next'
+import Input from '../../../components/Input'
+import Button from '../../../components/Button'
+import { useFormik } from 'formik'
+import { ChangePasswordType } from '../types/SettingTypes'
+import * as Yup from 'yup'
+import { toast } from '../../../components/Toast'
+import { useChangePassword } from '../hooks/useSettingData'
+import { ErrorType } from '../../../helpers/types'
+import { TickCircle } from 'iconsax-react'
+
+const ChangePassword: FC = () => {
+
+ const changePassword = useChangePassword()
+ const { t } = useTranslation('global')
+
+ const formik = useFormik