From d941cc88d728cf25fcdad7c1c0799dde8042fe15 Mon Sep 17 00:00:00 2001 From: Jon Mulhern <81927768+curlyfriesplease@users.noreply.github.com> Date: Mon, 25 Nov 2024 22:29:25 +0000 Subject: [PATCH] Prevents dropdown from having closeDropdown func prop as required --- .../Atoms/TextInputWithDropdown/TextInputWithDropdown.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Atoms/TextInputWithDropdown/TextInputWithDropdown.js b/src/components/Atoms/TextInputWithDropdown/TextInputWithDropdown.js index 1d5e99de..c03e8a53 100644 --- a/src/components/Atoms/TextInputWithDropdown/TextInputWithDropdown.js +++ b/src/components/Atoms/TextInputWithDropdown/TextInputWithDropdown.js @@ -234,7 +234,7 @@ Options.propTypes = { activeOption: PropTypes.number.isRequired, resetActiveOption: PropTypes.func.isRequired, hideBorder: PropTypes.bool, - closeDropdown: PropTypes.func.isRequired + closeDropdown: PropTypes.func }; TextInputWithDropdown.displayName = 'TextInputWithDropdown';