Skip to content

Commit

Permalink
[frontend] Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelHassine committed Mar 1, 2024
1 parent 75c8d34 commit 5f0ca68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,6 @@ const ContainerAddStixCoreObjects = (props) => {
);
};
const renderEntityCreation = (searchPaginationOptions) => {
console.log(targetStixCoreObjectTypes);
if (
targetStixCoreObjectTypes
&& isTypeDomainObject(targetStixCoreObjectTypes)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,8 @@ const StixCoreObjectsField = (props) => {
noOptionsText={t_i18n('No available options')}
options={stixCoreObjects}
onInputChange={searchStixCoreObjects}
renderOption={(props, option) => (
<li {...props}>
renderOption={(innerProps, option) => (
<li {...innerProps}>
<div className={classes.icon} style={{ color: option.color }}>
<ItemIcon type={option.type} />
</div>
Expand Down

0 comments on commit 5f0ca68

Please sign in to comment.