From 8c2a8e3a7c1f54b54127dfeee74cb76f8b7caab9 Mon Sep 17 00:00:00 2001 From: Drikus Roor Date: Wed, 22 Jan 2025 21:10:43 +0100 Subject: [PATCH 1/2] Fix build errors in App.tsx and Tooth.tsx Fix TypeScript errors in `src/App.tsx` and `src/components/Tooth.tsx`. * Update `setCurrentElasticTime` function in `src/App.tsx` to accept a `TimeType` parameter by casting `time` to `TimeType`. * Remove unused variable `top` in `src/components/Tooth.tsx`. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/drikusroor/elastistent?shareId=XXXX-XXXX-XXXX-XXXX). --- src/App.tsx | 2 +- src/components/Tooth.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 1c1f90c..6013157 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -490,7 +490,7 @@ const ElasticPlacer = () => { {Object.keys(TIME_OPTIONS).map((time) => (