Skip to content

Commit e34645b

Browse files
committed
style: format code with prettier
1 parent 723596b commit e34645b

2 files changed

Lines changed: 11 additions & 5 deletions

File tree

src/components/settings/about/AboutSettings.tsx

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,10 @@ ${logsText}
112112
await navigator.clipboard.writeText(bodyTemplate);
113113
toast.info(t("settings.about.reportBug.toastCopied"));
114114
} catch (clipboardErr) {
115-
console.error("Failed to copy bug report to clipboard:", clipboardErr);
115+
console.error(
116+
"Failed to copy bug report to clipboard:",
117+
clipboardErr,
118+
);
116119
toast.error(t("settings.about.reportBug.toastCopyFailed"));
117120
}
118121

@@ -254,7 +257,9 @@ ${bugDescription}
254257
<Textarea
255258
value={bugDescription}
256259
onChange={(e) => setBugDescription(e.target.value)}
257-
placeholder={t("settings.about.reportBug.inputDescriptionPlaceholder")}
260+
placeholder={t(
261+
"settings.about.reportBug.inputDescriptionPlaceholder",
262+
)}
258263
className="w-full min-h-[140px] font-medium"
259264
required
260265
disabled={isSubmitting}
@@ -287,7 +292,9 @@ ${bugDescription}
287292
variant="primary"
288293
size="md"
289294
onClick={handleFormSubmit}
290-
disabled={!bugTitle.trim() || !bugDescription.trim() || isSubmitting}
295+
disabled={
296+
!bugTitle.trim() || !bugDescription.trim() || isSubmitting
297+
}
291298
>
292299
{isSubmitting
293300
? t("settings.about.reportBug.submittingButton")

src/components/ui/Textarea.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import React from "react";
22

3-
interface TextareaProps
4-
extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
3+
interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
54
variant?: "default" | "compact";
65
}
76

0 commit comments

Comments
 (0)