Skip to content

Commit

Permalink
chore: #1768 change text image required (#1845)
Browse files Browse the repository at this point in the history
  • Loading branch information
Trường An authored Jun 26, 2020
1 parent 1b68a32 commit 72a7671
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/elements/src/components/ImageInput/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const ImageInput = (props: ImageInputProps) => {

const afterLoadedImage = (base64, handleClearFile) => {
if (!validateType(base64)) {
setMessage('You must select the image file!')
setMessage('Invalid file type, please upload an image')
handleClearFile()
return
}
Expand Down
2 changes: 1 addition & 1 deletion packages/marketplace/src/tests/badges/badge-functions.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion packages/marketplace/src/tests/badges/badge-lines.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion packages/marketplace/src/tests/badges/badge-statements.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 72a7671

Please sign in to comment.