Skip to content

Commit

Permalink
fix(domaininput): removes superfluous typing as codesmell
Browse files Browse the repository at this point in the history
SXT-1023

Signed-off-by: Jimmy Holway <[email protected]>
  • Loading branch information
Jimmy Holway committed Jul 28, 2023
1 parent a609981 commit b31305f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/chronicle/DomainInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const DomainInput: React.FC<DomainInputProps> = ({ options, onOptionAdd, onOptio
renderOption={(props, option, state: AutocompleteRenderOptionState) => (
<MenuItem {...props} sx={{ flex: 1, display: 'flex', flexDirection: 'row', justifyContent: 'space-between' }}>
{option}
<IconButton size="small" onClick={() => handleOptionRemove(option as string)}>
<IconButton size="small" onClick={() => handleOptionRemove(option)}>
<DeleteIcon fontSize="small" />
</IconButton>
</MenuItem>
Expand Down

0 comments on commit b31305f

Please sign in to comment.