Skip to content

Commit

Permalink
removed unnecessary import
Browse files Browse the repository at this point in the history
  • Loading branch information
gaeaehrlich committed Feb 27, 2022
1 parent 5ea0fa4 commit 1031a5b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useClickOutside/useClickOutside.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

import React, {useRef, useCallback, useContext} from 'react';
import {useRef, useCallback, useContext} from 'react';
import {_document} from 'utility/mocks';
import useEventListener from '../useEventListener';
import OverrideContext from './useClickOutside.context';
Expand Down
16 changes: 16 additions & 0 deletions src/tools/ClickOutside/ClickOutside.jsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/**
* Copyright (c) 2020, Amdocs Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

import React from 'react';
import {func, node} from 'prop-types';
import OverrideContext from 'hooks/useClickOutside/useClickOutside.context';
Expand Down

0 comments on commit 1031a5b

Please sign in to comment.