diff --git a/src/components/Inputs/Select/Select.tsx b/src/components/Inputs/Select/Select.tsx index 06631e13..011b9696 100644 --- a/src/components/Inputs/Select/Select.tsx +++ b/src/components/Inputs/Select/Select.tsx @@ -67,16 +67,20 @@ const Select: React.FC = ({ className, disabled, id, label, onChang {selectedOption ? ( options.find((option) => option.value === selectedOption)?.element ? (
- {options.find((option) => option.value === selectedOption)?.label} + + {options.find((option) => option.value === selectedOption)?.label} + {options.find((option) => option.value === selectedOption)?.element}
) : (
- {options.find((option) => option.value === selectedOption)?.label} + + {options.find((option) => option.value === selectedOption)?.label} +
) ) : ( - Select an option + Select an option )} diff --git a/src/components/Settings/Settings.tsx b/src/components/Settings/Settings.tsx index 8d7db0ac..43794a73 100644 --- a/src/components/Settings/Settings.tsx +++ b/src/components/Settings/Settings.tsx @@ -171,42 +171,42 @@ export default function Settings({ }); const colorOptions: SelectOption[] = [ { - element:
, + element:
, label: red, value: "red" }, { - element:
, + element:
, label: green, value: "green" }, { - element:
, + element:
, label: blue, value: "blue" }, { - element:
, + element:
, label: yellow, value: "yellow" }, { - element:
, + element:
, label: orange, value: "orange" }, { - element:
, + element:
, label: purple, value: "purple" }, { - element:
, + element:
, label: pink, value: "pink" }, { - element:
, + element:
, label: white, value: "white" }