Skip to content

Commit 564805c

Browse files
committed
chore: format FileModificationUntil.js
1 parent a8251eb commit 564805c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/components/FileModificationUntil.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,7 @@ export class FileModificationUntil extends Component {
2121
const daysUntil = fileModification.context?.days_until;
2222
if (isPublished && filesUnlocked && daysUntil !== undefined) {
2323
if (daysUntil <= 0) {
24-
return (
25-
<>
26-
{" "}
27-
{i18next.t("– You are past the allowed period to edit files.")}
28-
</>
29-
);
24+
return <> {i18next.t("– You are past the allowed period to edit files.")}</>;
3025
}
3126
return (
3227
<>

0 commit comments

Comments
 (0)