From a46bbeaa10f50c5a83e025075975eec2e5e52458 Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Sat, 19 Oct 2024 01:05:23 +0200 Subject: [PATCH] fix: format + ignore samples --- .eslintignore | 1 + website/src/docs/MiniRepl.jsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintignore b/.eslintignore index b7660415..cbfa8917 100644 --- a/.eslintignore +++ b/.eslintignore @@ -23,3 +23,4 @@ reverbGen.mjs hydra.mjs jsdoc-synonyms.js packages/hs2js/src/hs2js.mjs +samples \ No newline at end of file diff --git a/website/src/docs/MiniRepl.jsx b/website/src/docs/MiniRepl.jsx index ca76c362..300adb0b 100644 --- a/website/src/docs/MiniRepl.jsx +++ b/website/src/docs/MiniRepl.jsx @@ -37,7 +37,7 @@ export function MiniRepl({ const shouldShowCanvas = !!punchcard; const canvasId = shouldShowCanvas ? useMemo(() => `canvas-${id}`, [id]) : null; autodraw = !!punchcard || !!claviature || !!autodraw; - drawTime = drawTime ?? punchcard ? [0, 4] : [-2, 2]; + drawTime = (drawTime ?? punchcard) ? [0, 4] : [-2, 2]; if (claviature) { drawTime = [0, 0]; }