diff --git a/frontend/src/components/common/Card/Card.tsx b/frontend/src/components/common/Card/Card.tsx index 263f31fb..4fed78ea 100644 --- a/frontend/src/components/common/Card/Card.tsx +++ b/frontend/src/components/common/Card/Card.tsx @@ -1,12 +1,14 @@ import { CardProps } from './Card.interface'; import { PropsWithChildren } from 'react'; -import {Typography} from "@app/components/common/Typography"; +import { Typography } from '@app/components/common/Typography'; export const Card: React.FC> = ({ title, children }) => { return (
- {title} + + {title} +
{children}
diff --git a/frontend/src/components/modules/ProfileSetting/ProfileSettings.tsx b/frontend/src/components/modules/ProfileSetting/ProfileSettings.tsx index 42200d4d..1a5b659e 100644 --- a/frontend/src/components/modules/ProfileSetting/ProfileSettings.tsx +++ b/frontend/src/components/modules/ProfileSetting/ProfileSettings.tsx @@ -10,7 +10,7 @@ import { useProfileSettings } from '@app/components/modules/ProfileSetting/Profi import { CropImageModal } from './modules/CropImageModal'; import { ReactNode } from 'react'; import { DeleteImageModal } from './modules/DeleteImageModal'; -import {Typography} from "@app/components/common/Typography"; +import { Typography } from '@app/components/common/Typography'; export const ProfileSettings: React.FC = ({ data }) => { const { firstName, lastName, email, ladders, photo } = data; @@ -54,7 +54,9 @@ export const ProfileSettings: React.FC = ({ data }) => {
- Profile photo + + Profile photo +
diff --git a/frontend/src/components/modules/ProfileSetting/modules/CropImageModal/CropImageModal.tsx b/frontend/src/components/modules/ProfileSetting/modules/CropImageModal/CropImageModal.tsx index 2ef29630..92be8b68 100644 --- a/frontend/src/components/modules/ProfileSetting/modules/CropImageModal/CropImageModal.tsx +++ b/frontend/src/components/modules/ProfileSetting/modules/CropImageModal/CropImageModal.tsx @@ -6,7 +6,7 @@ import { CropImageModalProps } from './CropImageModal.interface'; import { useCropImageModal } from './CropImageModal.hooks'; import { Button } from '@app/components/common/Button'; import { ZOOM_SLIDER_MULTIPLIER } from './constants'; -import {Typography} from "@app/components/common/Typography"; +import { Typography } from '@app/components/common/Typography'; export const CropImageModal: React.FC = ({ imageSrc, open, onClose, onSave }) => { const { crop, zoom, handleCropChange, handleZoomChange, handleCropComplete, handleZoomInputChange, handleSave } = diff --git a/frontend/src/components/modules/ProfileSetting/modules/DeleteImageModal/DeleteImageModal.tsx b/frontend/src/components/modules/ProfileSetting/modules/DeleteImageModal/DeleteImageModal.tsx index ab6a97cf..aef6c87f 100644 --- a/frontend/src/components/modules/ProfileSetting/modules/DeleteImageModal/DeleteImageModal.tsx +++ b/frontend/src/components/modules/ProfileSetting/modules/DeleteImageModal/DeleteImageModal.tsx @@ -1,7 +1,7 @@ import { Modal } from '@app/components/common/Modal'; import { Button } from '@app/components/common/Button'; import { DeleteImageModalProps } from './DeleteImageModal.interface'; -import {Typography} from "@app/components/common/Typography"; +import { Typography } from '@app/components/common/Typography'; export const DeleteImageModal: React.FC = ({ open, onClose, onDelete }) => { return (