Skip to content

Commit

Permalink
fix: share expiration never doesn't work if using another language th…
Browse files Browse the repository at this point in the history
…an English
  • Loading branch information
stonith404 committed Jul 31, 2023
1 parent 72a52eb commit a47d080
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -119,7 +119,7 @@ const CreateUploadModalBody = ({
form.setFieldError("link", t("upload.modal.link.error.taken"));
} else {
const expiration = form.values.never_expires
? t("upload.modal.expires.never")
? "never"
: form.values.expiration_num + form.values.expiration_unit;
uploadCallback({
id: values.link,
Expand Down

0 comments on commit a47d080

Please sign in to comment.