Skip to content

Commit b9edb87

Browse files
committed
Resolved the linting errors
1 parent a633bdf commit b9edb87

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

src/pages/EditorComponent.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -377,18 +377,18 @@ function EditorComponent() {
377377
return;
378378
}
379379

380-
const outputText = Array.isArray(output) ? output.join('\n') : output.toString();
380+
const outputText = Array.isArray(output) ? output.join("\n") : output.toString();
381381
try {
382382
await navigator.clipboard.writeText(outputText);
383383
enqueueSnackbar("Output copied to clipboard!", { variant: "success" });
384384
} catch (err) {
385385
// Fallback for browsers that don't support clipboard API
386-
const textArea = document.createElement('textarea');
386+
const textArea = document.createElement("textarea");
387387
textArea.value = outputText;
388388
document.body.appendChild(textArea);
389389
textArea.select();
390390
try {
391-
document.execCommand('copy');
391+
document.execCommand("copy");
392392
enqueueSnackbar("Output copied to clipboard!", { variant: "success" });
393393
} catch (fallbackErr) {
394394
enqueueSnackbar("Failed to copy output", { variant: "error" });
@@ -594,11 +594,11 @@ function EditorComponent() {
594594
max={20}
595595
step={1}
596596
marks={[
597-
{ value: 12, label: '12' },
598-
{ value: 14, label: '14' },
599-
{ value: 16, label: '16' },
600-
{ value: 18, label: '18' },
601-
{ value: 20, label: '20' }
597+
{ value: 12, label: "12" },
598+
{ value: 14, label: "14" },
599+
{ value: 16, label: "16" },
600+
{ value: 18, label: "18" },
601+
{ value: 20, label: "20" }
602602
]}
603603
size="small"
604604
/>

0 commit comments

Comments
 (0)