Skip to content

Commit

Permalink
🚨 chore: 修正 lint
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Mar 16, 2021
1 parent 12190ff commit ded9c8a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: c-hive/gha-yarn-cache@v1

- run: yarn
- run: yarn lint
- run: yarn check
- run: yarn test
- run: yarn build

Expand Down
4 changes: 4 additions & 0 deletions packages/tag-selector/src/components/Group.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@ export default class Group extends Component<IGroupProps> {
};

changeLabel = (e, key) => {
console.log(e, key);
// this.props.dispatch({
// type: 'label/changeLabelText',
// payload: { key, text: e.target.value },
// });
};
deleteLabel = (key) => {
console.log(key);
// this.props.dispatch({
// type: 'label/deleteLabel',
// payload: key,
Expand All @@ -30,6 +32,8 @@ export default class Group extends Component<IGroupProps> {
if (e.key === 'Tab') {
e.preventDefault();
const key = e.target.id;
console.log(key);

// this.props.dispatch({
// type: 'label/showTagInput',
// payload: key,
Expand Down
2 changes: 1 addition & 1 deletion tsconfig-check.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"skipLibCheck": true,
"jsx": "react-jsx"
},
"include": ["packages"]
"include": ["packages", "types"]
}

1 comment on commit ded9c8a

@vercel
Copy link

@vercel vercel bot commented on ded9c8a Mar 16, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.