refactor: run formatter

This commit is contained in:
Elias Schneider
2023-08-17 14:47:58 +02:00
parent 7b34cb14cb
commit f02e2979c4
48 changed files with 1018 additions and 573 deletions

View File

@@ -119,7 +119,7 @@ const MyShares = () => {
modals,
share,
config.get("general.appUrl"),
parseInt(config.get("share.maxSize"))
parseInt(config.get("share.maxSize")),
);
}}
>
@@ -132,16 +132,14 @@ const MyShares = () => {
onClick={() => {
if (window.isSecureContext) {
clipboard.copy(
`${config.get("general.appUrl")}/s/${
share.id
}`
`${config.get("general.appUrl")}/s/${share.id}`,
);
toast.success(t("common.notify.copied"));
} else {
showShareLinkModal(
modals,
share.id,
config.get("general.appUrl")
config.get("general.appUrl"),
);
}
}}
@@ -172,7 +170,7 @@ const MyShares = () => {
onConfirm: () => {
shareService.remove(share.id);
setShares(
shares.filter((item) => item.id !== share.id)
shares.filter((item) => item.id !== share.id),
);
},
});