diff --git a/platform/firecamp-ui/src/components/activity-bar/ActionItem.tsx b/platform/firecamp-ui/src/components/activity-bar/ActionItem.tsx index 589a9d02..e480c9c9 100644 --- a/platform/firecamp-ui/src/components/activity-bar/ActionItem.tsx +++ b/platform/firecamp-ui/src/components/activity-bar/ActionItem.tsx @@ -1,4 +1,4 @@ -import { useEffect, FC } from 'react'; +import { FC } from 'react'; import cx from 'classnames'; import { UserCircle2 } from 'lucide-react'; // import ReactTooltip from 'react-tooltip'; diff --git a/platform/firecamp-ui/src/components/auth-panel/AuthPanel.tsx b/platform/firecamp-ui/src/components/auth-panel/AuthPanel.tsx index d76de6cd..0578ea5f 100644 --- a/platform/firecamp-ui/src/components/auth-panel/AuthPanel.tsx +++ b/platform/firecamp-ui/src/components/auth-panel/AuthPanel.tsx @@ -1,7 +1,7 @@ import { FC, useState, useEffect } from 'react'; import _compact from 'lodash/compact'; import cx from 'classnames'; -import isEqual from 'react-fast-compare'; +// import isEqual from 'react-fast-compare'; import { VscTriangleDown } from '@react-icons/all-files/vsc/VscTriangleDown'; import { _misc, _object } from '@firecamp/utils'; import { @@ -30,7 +30,7 @@ import { Digest, // Hawk, Netrc, - Ntlm, + // Ntlm, OAuth1, OAuth2, NoAuth, @@ -42,11 +42,11 @@ const AuthPanel: FC = ({ value, activeAuthType = EAuthTypes.None, allowInherit = true, - onChangeAuthType = () => {}, - onChangeAuthValue = () => {}, - onChangeOAuth2Value = () => {}, - fetchTokenOnChangeOAuth2 = (authPayload: any) => {}, - fetchInheritedAuth = () => {}, + onChangeAuthType = () => { }, + onChangeAuthValue = () => { }, + onChangeOAuth2Value = () => { }, + fetchTokenOnChangeOAuth2 = (authPayload: any) => { }, + fetchInheritedAuth = () => { }, oauth2LastToken = '', }) => { const _authTypeList = allowInherit @@ -174,7 +174,7 @@ const AuthTypesDD: FC = ({ types, name, onSelect }) => { handler={() => (