From fff0956746b3021c7dc7e0fd02491d5a9cb66363 Mon Sep 17 00:00:00 2001 From: Kurt Hutten Date: Wed, 30 Dec 2020 11:21:58 +1100 Subject: [PATCH] Add cancel button to part profile --- web/src/components/PartProfile/PartProfile.js | 17 +++++++++++++++++ web/src/components/Svg/Svg.js | 15 +++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/web/src/components/PartProfile/PartProfile.js b/web/src/components/PartProfile/PartProfile.js index 4d879b6..8a91baa 100644 --- a/web/src/components/PartProfile/PartProfile.js +++ b/web/src/components/PartProfile/PartProfile.js @@ -130,6 +130,23 @@ const PartProfile = ({ > {isEditable ? 'Save Details' : 'Edit Details'} + {isEditable && ( + + )}