From 1031a5b68535ab7e581279a75777abf5bf750d5f Mon Sep 17 00:00:00 2001 From: gaeaehrlich Date: Sun, 27 Feb 2022 12:02:19 +0200 Subject: [PATCH] removed unnecessary import --- src/hooks/useClickOutside/useClickOutside.js | 2 +- src/tools/ClickOutside/ClickOutside.jsx | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/src/hooks/useClickOutside/useClickOutside.js b/src/hooks/useClickOutside/useClickOutside.js index cfd4b15..a3ff612 100644 --- a/src/hooks/useClickOutside/useClickOutside.js +++ b/src/hooks/useClickOutside/useClickOutside.js @@ -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'; diff --git a/src/tools/ClickOutside/ClickOutside.jsx b/src/tools/ClickOutside/ClickOutside.jsx index 2d0f11b..2a34ae1 100644 --- a/src/tools/ClickOutside/ClickOutside.jsx +++ b/src/tools/ClickOutside/ClickOutside.jsx @@ -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';