UserSettings.tsx 681 B

1234567891011121314151617181920212223242526272829
  1. import React, { FC } from 'react';
  2. import { useTranslation } from 'react-i18next';
  3. import BasicInfoSettings from './BasicInfoSettings';
  4. import ProfileImageSettings from './ProfileImageSettings';
  5. type Props = {
  6. };
  7. const UserSettings: FC<Props> = () => {
  8. const { t } = useTranslation();
  9. return (
  10. <div data-testid="grw-user-settings">
  11. <div className="mb-5">
  12. <h2 className="border-bottom my-4">{t('Basic Info')}</h2>
  13. <BasicInfoSettings />
  14. </div>
  15. <div className="mb-5">
  16. <h2 className="border-bottom my-4">{t('Set Profile Image')}</h2>
  17. <ProfileImageSettings />
  18. </div>
  19. </div>
  20. );
  21. };
  22. export default UserSettings;