diff --git a/src/components/Popups/Popups.tsx b/src/components/Popups/Popups.tsx index d85f8870e9079b5efd3a3f637e40d979a3320cc4..cc2cd407f4d765bf1b5ead46151da91b3fc45a39 100644 --- a/src/components/Popups/Popups.tsx +++ b/src/components/Popups/Popups.tsx @@ -61,7 +61,7 @@ const Popups: React.FC = () => { endDate: DateTime.local().toISO(), }) const [popupDuration, setPopupDuration] = useState<PopupDuration>({ - type: 'days', + type: durationEnum.hours, duration: 0, }) @@ -353,7 +353,6 @@ const Popups: React.FC = () => { <div> <FormControl style={{ flexDirection: 'row', gap: '1rem' }}> <NativeSelect - defaultValue={30} inputProps={{ name: 'age', id: 'uncontrolled-native', @@ -361,11 +360,7 @@ const Popups: React.FC = () => { onChange={event => handleSelectChange(event)} > {OPTIONS.map(option => ( - <option - key={option.value} - value={option.value} - selected={popupDuration.type === option.value} - > + <option key={option.value} value={option.value}> {option.label} </option> ))}