From da2543a88e6dc13f5192ed0da2073c21f4db3c77 Mon Sep 17 00:00:00 2001 From: Drikus Roor Date: Wed, 22 Jan 2025 21:18:08 +0100 Subject: [PATCH] Fix build error by adding ts-ignore comment Add a `ts-ignore` comment to ignore TypeScript error TS6133 in `src/components/Tooth.tsx`. * Add `// @ts-ignore` comment above the line where `_top` is declared to prevent the build error caused by the unused variable `_top`. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/drikusroor/elastistent?shareId=XXXX-XXXX-XXXX-XXXX). --- src/components/Tooth.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Tooth.tsx b/src/components/Tooth.tsx index 6b4e04e..28dfba3 100644 --- a/src/components/Tooth.tsx +++ b/src/components/Tooth.tsx @@ -80,6 +80,7 @@ const Tooth = React.memo(({ number, row, onClick, onToggle, selected, disabled, const rect = e.currentTarget.getBoundingClientRect(); const y = e.clientY - rect.top; const half = rect.height / 2; + // @ts-ignore const _top = y < half; // TODO: implement top/bottom half click handling