Skip to content

Commit

Permalink
Fix forms
Browse files Browse the repository at this point in the history
  • Loading branch information
WRadoslaw committed Jun 22, 2023
1 parent 3242859 commit ef15176
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export const SignInModalMembershipStep: FC<SignInModalMembershipStepProps> = ({
!!imageInputFile?.blob
)
}
assetUrl={[imageInputFile?.url ?? '']}
assetUrl={imageInputFile?.url ? [imageInputFile.url] : undefined}
editable
/>
<ImageCropModal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ export const CreateEditChannelView: FC<CreateEditChannelViewProps> = ({ newChann
? null
: value.croppedUrl
? [value.croppedUrl]
: value.croppedUrl
: value.originalUrl
? [value.originalUrl as string]
: undefined
}
Expand Down Expand Up @@ -473,7 +473,7 @@ export const CreateEditChannelView: FC<CreateEditChannelViewProps> = ({ newChann
? null
: value.croppedUrl
? [value.croppedUrl]
: value.croppedUrl
: value.originalUrl
? [value.originalUrl as string]
: undefined
}
Expand Down

0 comments on commit ef15176

Please sign in to comment.