Skip to content

Commit

Permalink
fix linter and test errors
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyi-sl committed Jul 11, 2024
1 parent 5476319 commit 3c6c7b3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config/eslint-react.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const config = deepMerge(baseConfig, {
when: 'always',
}],
'react/jsx-sort-props': 2,
'react/jsx-sort-default-props': [2, {
'react/sort-default-props': [2, {
ignoreCase: true,
}],
'react/jsx-tag-spacing': [2, {
Expand Down
1 change: 1 addition & 0 deletions src/Containers/ReqDetailContainer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const ReqDetailContainer = () => {
return (
<div className={Styles['req-detail-container']}>
<button
aria-label="Close button"
className={Styles['close-button']}
onClick={handleCloseClick}
type="button"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ exports[`ReqDetailContainer renders without crashing 1`] = `
<ReqDetailContainer>
<div>
<button
aria-label="Close button"
onClick={[Function]}
type="button"
>
Expand Down

0 comments on commit 3c6c7b3

Please sign in to comment.