From 2b41711c6fb9225f09698af171806436339fef59 Mon Sep 17 00:00:00 2001 From: Angie Ta Date: Wed, 18 Dec 2024 01:32:08 -0800 Subject: [PATCH] clean up BottomButtons.tsx --- ios/Podfile.lock | 2 +- src/components/ObsEdit/BottomButtons.tsx | 83 ++++++++---------------- 2 files changed, 28 insertions(+), 57 deletions(-) diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 8ed87f88a..a74c7fc8d 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -1576,4 +1576,4 @@ SPEC CHECKSUMS: PODFILE CHECKSUM: eff4b75123af5d6680139a78c055b44ad37c269b -COCOAPODS: 1.14.3 +COCOAPODS: 1.15.2 diff --git a/src/components/ObsEdit/BottomButtons.tsx b/src/components/ObsEdit/BottomButtons.tsx index ecc63cda7..51c623ad7 100644 --- a/src/components/ObsEdit/BottomButtons.tsx +++ b/src/components/ObsEdit/BottomButtons.tsx @@ -40,18 +40,6 @@ const BottomButtons = ( { const isSaving = buttonPressed === "save" && loading; const disabled = buttonPressed !== null; - const saveButton = ( -