From 45eb2a57895eb5a32cc6c5535e935b67aac8e843 Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Tue, 16 Apr 2024 17:52:47 +0200 Subject: [PATCH] wip --- .../components/FindProperty/Public/Autocomplete.tsx | 5 ++--- .../src/@planx/components/FindProperty/Public/index.tsx | 9 ++++----- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/editor.planx.uk/src/@planx/components/FindProperty/Public/Autocomplete.tsx b/editor.planx.uk/src/@planx/components/FindProperty/Public/Autocomplete.tsx index adf496dc40..facc3215db 100644 --- a/editor.planx.uk/src/@planx/components/FindProperty/Public/Autocomplete.tsx +++ b/editor.planx.uk/src/@planx/components/FindProperty/Public/Autocomplete.tsx @@ -27,7 +27,6 @@ interface PickOSAddressProps { setShowPostcodeError: React.Dispatch>; initialSelectedAddress?: Option; showAddressSelectError: boolean; - setShowAddressSelectError: React.Dispatch>; id?: string; description?: string; } @@ -55,7 +54,7 @@ export default function PickOSAddress(props: PickOSAddressProps): FCReturn { ); const [sanitizedPostcode, setSanitizedPostcode] = useState( (props.initialPostcode && toNormalised(props.initialPostcode.trim())) ?? - null, + null, ); const [selectedOption, setSelectedOption] = useState