aboutsummaryrefslogtreecommitdiff
path: root/client/src/components/CustomSelect
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/components/CustomSelect')
-rw-r--r--client/src/components/CustomSelect/CustomSelect.jsx2
-rw-r--r--client/src/components/CustomSelect/CustomSelect.module.css2
2 files changed, 2 insertions, 2 deletions
diff --git a/client/src/components/CustomSelect/CustomSelect.jsx b/client/src/components/CustomSelect/CustomSelect.jsx
index 2f98b34..f588d38 100644
--- a/client/src/components/CustomSelect/CustomSelect.jsx
+++ b/client/src/components/CustomSelect/CustomSelect.jsx
@@ -4,7 +4,7 @@ import styles from "./CustomSelect.module.css";
const CustomSelect = ({ options, onSelect }) => {
const [isOpen, setIsOpen] = useState(false);
const [selectedOption, setSelectedOption] = useState(
- options.length > 0 ? options[0] : null
+ options.length > 0 ? options[0] : null,
);
const toggleDropdown = () => {
diff --git a/client/src/components/CustomSelect/CustomSelect.module.css b/client/src/components/CustomSelect/CustomSelect.module.css
index 1cd7b64..81f9e62 100644
--- a/client/src/components/CustomSelect/CustomSelect.module.css
+++ b/client/src/components/CustomSelect/CustomSelect.module.css
@@ -46,7 +46,7 @@
width: 8rem;
font-size: 14px;
}
-
+
.selected__option {
padding: 8px;
}