diff --git a/src/components/FeatureFlagModal/FeatureFlagModal.tsx b/src/components/FeatureFlagModal/FeatureFlagModal.tsx index 5f58c14eed..4aa6638292 100644 --- a/src/components/FeatureFlagModal/FeatureFlagModal.tsx +++ b/src/components/FeatureFlagModal/FeatureFlagModal.tsx @@ -4,7 +4,6 @@ import { NftVariant, useNftFlag } from 'featureFlags/flags/nft' import { RedesignVariant, useRedesignFlag } from 'featureFlags/flags/redesign' import { TokensVariant, useTokensFlag } from 'featureFlags/flags/tokens' import { TokenSafetyVariant, useTokenSafetyFlag } from 'featureFlags/flags/tokenSafety' -import { TokensNetworkFilterVariant, useTokensNetworkFilterFlag } from 'featureFlags/flags/tokensNetworkFilter' import { TraceJsonRpcVariant, useTraceJsonRpcFlag } from 'featureFlags/flags/traceJsonRpc' import { useAtomValue, useUpdateAtom } from 'jotai/utils' import { Children, PropsWithChildren, ReactElement, ReactNode, useCallback, useState } from 'react' @@ -226,12 +225,6 @@ export default function FeatureFlagModal() { featureFlag={FeatureFlag.tokens} label="Tokens" /> - { - const tokensNetworkFilterFlag = useTokensNetworkFilterFlag() const resetFilterString = useResetAtom(filterStringAtom) const location = useLocation() useEffect(() => { @@ -86,15 +84,13 @@ const Tokens = () => { - {tokensNetworkFilterFlag === TokensNetworkFilterVariant.Enabled && } - + - @@ -104,8 +100,6 @@ const Tokens = () => { } export const LoadingTokens = () => { - const tokensNetworkFilterFlag = useTokensNetworkFilterFlag() - return ( @@ -116,7 +110,7 @@ export const LoadingTokens = () => { - {tokensNetworkFilterFlag === TokensNetworkFilterVariant.Enabled && } +