Skip to content

Commit

Permalink
fix: handle review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
flagrede committed Sep 17, 2024
1 parent 30396ce commit 5f4a4f8
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const AuxiliaryLabel = ({
<span className={styles.availableLabel}>{auxiliaryLabel}</span>
)}
<span>
<span className={styles.availableLabel}>{`${availableLabel}:`}</span>{' '}
<span className={styles.availableLabel}>{availableLabel}:</span>&nbsp;
<span className={styles.availableAmount}>
{getFormattedNumber(availableAmount)}
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import { Body, Title } from '../../../typography';

type Props = RegenModalProps & {
fileUploadingTitle: string;
fileUplaodingDescription: string;
fileUploadingDescription: string;
};

export const UploadingModal = ({
fileUplaodingDescription,
fileUploadingDescription,
fileUploadingTitle,
open,
onClose,
Expand All @@ -23,6 +23,6 @@ export const UploadingModal = ({
<Title className="pt-30 pb-20" variant="h3">
{fileUploadingTitle}
</Title>
<Body size="lg">{fileUplaodingDescription}</Body>
<Body size="lg">{fileUploadingDescription}</Body>
</Modal>
);
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export interface FileDropProps extends Partial<FieldFormControlProps> {
dropZoneOption?: DropzoneOptions;
isCropSubmitDisabled?: boolean;
fileUploadingTitle: string;
fileUplaodingDescription: string;
fileUploadingDescription: string;
locationText: string;
moveUpText: string;
moveDownText: string;
Expand Down Expand Up @@ -93,7 +93,7 @@ const FileDrop = forwardRef<HTMLInputElement, FileDropProps>(
fieldIndex = 0,
isCropSubmitDisabled = false,
fileUploadingTitle,
fileUplaodingDescription,
fileUploadingDescription,
locationText,
moveUpText,
moveDownText,
Expand Down Expand Up @@ -301,7 +301,7 @@ const FileDrop = forwardRef<HTMLInputElement, FileDropProps>(
<UploadingModal
open={uploading}
onClose={() => setUploading(false)}
fileUplaodingDescription={fileUplaodingDescription}
fileUploadingDescription={fileUploadingDescription}
fileUploadingTitle={fileUploadingTitle}
/>
{renderModal({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ export const MediaFormPhotos = ({
<>
<FileDrop
fileUploadingTitle={_(FILE_UPLOADING_TITLE)}
fileUplaodingDescription={_(FILE_UPLOADING_DESCRIPTION)}
fileUploadingDescription={_(FILE_UPLOADING_DESCRIPTION)}
locationText={_(FILE_DROP_LOCATION_TEXT)}
moveUpText={_(FILE_DROP_MOVE_UP_TEXT)}
moveDownText={_(FILE_DROP_MOVE_DOWN_TEXT)}
Expand Down Expand Up @@ -254,7 +254,7 @@ export const MediaFormPhotos = ({
return (
<FileDrop
fileUploadingTitle={_(FILE_UPLOADING_TITLE)}
fileUplaodingDescription={_(FILE_UPLOADING_DESCRIPTION)}
fileUploadingDescription={_(FILE_UPLOADING_DESCRIPTION)}
locationText={_(FILE_DROP_LOCATION_TEXT)}
moveUpText={_(FILE_DROP_MOVE_UP_TEXT)}
moveDownText={_(FILE_DROP_MOVE_DOWN_TEXT)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export const MediaFormStory = ({
{isImage && (
<FileDrop
fileUploadingTitle={_(FILE_UPLOADING_TITLE)}
fileUplaodingDescription={_(FILE_UPLOADING_DESCRIPTION)}
fileUploadingDescription={_(FILE_UPLOADING_DESCRIPTION)}
locationText={_(FILE_DROP_LOCATION_TEXT)}
moveUpText={_(FILE_DROP_MOVE_UP_TEXT)}
moveDownText={_(FILE_DROP_MOVE_DOWN_TEXT)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ export const PostForm = ({
<FileDrop
dragAndDropLabel={<DragAndDropLabel />}
fileUploadingTitle={_(FILE_UPLOADING_TITLE)}
fileUplaodingDescription={_(FILE_UPLOADING_DESCRIPTION)}
fileUploadingDescription={_(FILE_UPLOADING_DESCRIPTION)}
locationText={_(FILE_DROP_LOCATION_TEXT)}
moveUpText={_(FILE_DROP_MOVE_UP_TEXT)}
moveDownText={_(FILE_DROP_MOVE_DOWN_TEXT)}
Expand Down

0 comments on commit 5f4a4f8

Please sign in to comment.