From 74c7e6444ee9c5d19e3df6809623bde3fbc2b1f3 Mon Sep 17 00:00:00 2001 From: gluap Date: Sat, 8 Jul 2023 13:55:23 +0200 Subject: [PATCH] remove the non-working buttons from the device edit field. --- frontend/src/pages/SettingsPage/DeviceList.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/pages/SettingsPage/DeviceList.tsx b/frontend/src/pages/SettingsPage/DeviceList.tsx index 0ab91eb..6200c03 100644 --- a/frontend/src/pages/SettingsPage/DeviceList.tsx +++ b/frontend/src/pages/SettingsPage/DeviceList.tsx @@ -27,6 +27,7 @@ function EditField({value, onEdit}) { }, [setEditing, setTempValue, value, cancelTimeout]) const confirm = useCallback(() => { + console.log("confirmed") cancelTimeout() setEditing(false) onEdit(tempValue) @@ -56,8 +57,6 @@ function EditField({value, onEdit}) { }} style={{marginRight: 8}} /> -