From 3b21858a2349b013ef1b54202e18945792e7c2f0 Mon Sep 17 00:00:00 2001 From: ian Date: Sat, 4 May 2024 20:59:19 +0200 Subject: [PATCH] Simplify type juggling by making separate components for base pin and profiles mappings --- www/src/Components/CaptureButton.tsx | 4 +- www/src/Pages/PinMapping.tsx | 322 +++++++++++++++++---------- 2 files changed, 207 insertions(+), 119 deletions(-) diff --git a/www/src/Components/CaptureButton.tsx b/www/src/Components/CaptureButton.tsx index d1c62ab2b..5828361ef 100644 --- a/www/src/Components/CaptureButton.tsx +++ b/www/src/Components/CaptureButton.tsx @@ -94,7 +94,7 @@ const CaptureButton = ({ {hasNext && ( - )} @@ -103,7 +103,7 @@ const CaptureButton = ({ -