Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
renrizzolo committed Jan 4, 2023
1 parent 007d3a5 commit 4e19741
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions src/components/DismissibleFocusTrap/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,4 +149,5 @@ DismissibleFocusTrap.propTypes = {
onShiftTabExit: PropTypes.func,
children: PropTypes.node,
};

export default DismissibleFocusTrap;
2 changes: 0 additions & 2 deletions src/components/DismissibleFocusTrap/index.spec.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -254,15 +254,13 @@ describe('<FocusTrap />', () => {
{open1 && (
<FocusTrap
onEscape={() => {
console.log('esc1');
setOpen1(false);
}}
>
<button onClick={() => setOpen2(true)}>test 1</button>
{open2 && (
<FocusTrap
onEscape={() => {
console.log('esc2');
setOpen2(false);
}}
>
Expand Down

0 comments on commit 4e19741

Please sign in to comment.