refactor: better variable name

This commit is contained in:
karishmas6
2024-09-13 12:23:56 +05:30
parent a321a933ab
commit c415a2e9ca

View File

@@ -103,8 +103,8 @@ export const ScheduleSettingsModal = ({ isOpen, handleStart, handleClose }: Sche
handleSelect={(e) => handleChange('runEveryUnit', e.target.value)}
sx={dropDownStyle}
>
{units.map((un) => (
<MenuItem key={un} value={un}>{un}</MenuItem>
{units.map((unit) => (
<MenuItem key={unit} value={unit}>{unit}</MenuItem>
))}
</Dropdown>
</Box>