Skip to content

Commit

Permalink
DownshiftSelect: Fix some eslint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
marco committed Apr 29, 2021
1 parent 9838c25 commit 5c36ad0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/Input/DownshiftSelect/Select.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,7 @@ DisableTyping.parameters = {

export const DisabledOptions = Template.bind({});
DisabledOptions.args = {
// items: items.map((item, index) => ({ ...item, disabled: index % 2 === 1 })),
items: items.map((item, index) => ({ ...item, disabled: true })),
items: items.map(item => ({ ...item, disabled: true })),
};
DisabledOptions.parameters = {
docs: {
Expand Down
2 changes: 1 addition & 1 deletion src/Input/DownshiftSelect/Select.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import { render, fireEvent } from '@testing-library/react';
import _userEvent from '@testing-library/user-event';
import '@testing-library/jest-dom/extend-expect';
import { Select, Props, Item, ItemProps } from './Select';
import { Select, Item, ItemProps } from './Select';
import { first, identity } from 'lodash';
import { Item as ItemComponent, Label as LabelComponent } from './SelectStyle';

Expand Down

0 comments on commit 5c36ad0

Please sign in to comment.