Skip to content
This repository was archived by the owner on Jun 29, 2025. It is now read-only.

Commit a47d080

Browse files
committed
fix: share expiration never doesn't work if using another language than English
1 parent 72a52eb commit a47d080

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/components/upload/modals/showCreateUploadModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ const CreateUploadModalBody = ({
119119
form.setFieldError("link", t("upload.modal.link.error.taken"));
120120
} else {
121121
const expiration = form.values.never_expires
122-
? t("upload.modal.expires.never")
122+
? "never"
123123
: form.values.expiration_num + form.values.expiration_unit;
124124
uploadCallback({
125125
id: values.link,

0 commit comments

Comments
 (0)